This file contains 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
# Commit early, commit often: it is a bad idea to do a lot of work without committing. | |
[user] | |
name = <Github Username> | |
email = <Github Email> | |
# signingkey = <GPGKEYIDHERE> | |
[commit] | |
# gpgsign = true | |
[push] | |
default = simple |
This file contains 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
/#([a-fA-F0-9]{3}){1,2}\b/ | |
/#([a-f0-9]{3}){1,2}\b/i | |
This file contains 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
#============================== | |
# | |
# ALIASES | |
# | |
#============================== | |
# Add an "alert" alias for long running commands. Use like so: | |
# sleep 10; alert | |
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' |
NewerOlder