Add command to gist something
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
1ef3690fbc
commit
2559f7b69e
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user