This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gitlog.py | |
# -*- coding: utf-8 -*- | |
import subprocess | |
import sys | |
#tag ideas? you can implement your own! | |
INFO_TAG="[INFO]" # just a heads up, default tag | |
FUCK_TAG="[FUCK]" # something broke! :c | |
CLEAN_TAG="[CLEAN]" # ripped out stuff, removed comments, etc | |
TODO_TAG="[TODO]" # didn't finish what i was doing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
. ~/.zshrc | |
check_for_collision(){ | |
is_exec=false | |
is_dir=false | |
if [ -d $FOO ]; then | |
is_dir=true | |
fi | |
alias $FOO > /dev/null && is_exec=true | |
echo "E"$is_exec |
NewerOlder