Add command to gist something

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2015-06-08 16:08:54 +02:00
parent 1ef3690fbc
commit 2559f7b69e

View File

@ -17,6 +17,7 @@ alias +x="chmod +x"
# Remove all local branches already merged in master. # Remove all local branches already merged in master.
alias gitclean='git branch --merged master | grep -v "\smaster$" | grep -v "*" | xargs git branch -d' alias gitclean='git branch --merged master | grep -v "\smaster$" | grep -v "*" | xargs git branch -d'
alias gist='gist -c'
# Detect which `ls` flavor is in use # Detect which `ls` flavor is in use
if ls --color > /dev/null 2>&1; then # GNU `ls` if ls --color > /dev/null 2>&1; then # GNU `ls`
@ -98,3 +99,4 @@ alias dot-git="killall Marked; open -a marked --args $HOME/dotfiles/docs/Git.md"
alias dot-hub="killall Marked; find /usr/local/Cellar/hub/ -name README.md -exec open -a marked --args {} \;" alias dot-hub="killall Marked; find /usr/local/Cellar/hub/ -name README.md -exec open -a marked --args {} \;"
#alias dot-extras="killall Marked; find /usr/local/Cellar/git-extras/ -name README.md -exec open -a marked --args {} \;" #alias dot-extras="killall Marked; find /usr/local/Cellar/git-extras/ -name README.md -exec open -a marked --args {} \;"
alias dot-extras="open https://github.com/visionmedia/git-extras/blob/master/Readme.md#readme" alias dot-extras="open https://github.com/visionmedia/git-extras/blob/master/Readme.md#readme"