Update aliases
This commit is contained in:
parent
e2f6a4dc70
commit
21639c7d13
18
aliases
18
aliases
|
@ -56,13 +56,12 @@ alias cloc='cloc --no3 --by-file-by-lang .'
|
||||||
alias cls=clear
|
alias cls=clear
|
||||||
alias code='cd ~/code'
|
alias code='cd ~/code'
|
||||||
alias cpr='cp -r'
|
alias cpr='cp -r'
|
||||||
alias cw='compass watch'
|
|
||||||
alias dc='gdc'
|
alias dc='gdc'
|
||||||
alias dot='cd ~/.dotfiles'
|
alias dot='cd ~/.dotfiles'
|
||||||
alias pdot='cd ~/.private-dotfiles'
|
alias pdot='cd ~/.private-dotfiles'
|
||||||
alias duh='du -csh'
|
alias duh='du -csh'
|
||||||
alias functions='vim ~/.dotfiles/functions'
|
|
||||||
alias f='fg'
|
alias f='fg'
|
||||||
|
alias functions='vim ~/.dotfiles/functions'
|
||||||
alias history='fc -l 1'
|
alias history='fc -l 1'
|
||||||
alias histroy='history'
|
alias histroy='history'
|
||||||
alias h='heroku'
|
alias h='heroku'
|
||||||
|
@ -81,12 +80,6 @@ alias irb='irb --readline -r irb/completion'
|
||||||
alias lcc='lein clean'
|
alias lcc='lein clean'
|
||||||
alias lca='lein cljsbuild auto dev'
|
alias lca='lein cljsbuild auto dev'
|
||||||
alias ldi='lein deps install'
|
alias ldi='lein deps install'
|
||||||
alias li='lineman'
|
|
||||||
alias lir='lineman run'
|
|
||||||
alias lib='lineman build'
|
|
||||||
alias lig='lineman grunt'
|
|
||||||
alias lis='lineman spec'
|
|
||||||
alias lic='lineman spec-ci'
|
|
||||||
alias lsd='lein start-dev'
|
alias lsd='lein start-dev'
|
||||||
alias mc='mvn compile'
|
alias mc='mvn compile'
|
||||||
alias mct='mvn test'
|
alias mct='mvn test'
|
||||||
|
@ -94,6 +87,7 @@ alias mi='mvn install'
|
||||||
alias mci='mvn clean install'
|
alias mci='mvn clean install'
|
||||||
alias mp='mvn package'
|
alias mp='mvn package'
|
||||||
alias mcp='mvn clean package'
|
alias mcp='mvn clean package'
|
||||||
|
alias moon='curl wttr.in/moon'
|
||||||
alias patch='git format-patch HEAD^ --stdout > patch.diff'
|
alias patch='git format-patch HEAD^ --stdout > patch.diff'
|
||||||
alias reguard='killall -9 ruby ; guard'
|
alias reguard='killall -9 ruby ; guard'
|
||||||
alias r='./run'
|
alias r='./run'
|
||||||
|
@ -106,14 +100,12 @@ function reload {
|
||||||
if [[ $platform == 'Linux' || $platform == 'Darwin' ]]; then
|
if [[ $platform == 'Linux' || $platform == 'Darwin' ]]; then
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
else
|
else
|
||||||
source ~/.bash_profile
|
test -f ~/.aliases && . ~/.aliases
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
alias rl='reload'
|
alias rl='reload'
|
||||||
alias rmr='rm -rf'
|
alias rmr='rm -rf'
|
||||||
alias rc='rails console'
|
|
||||||
alias rs='rails server'
|
|
||||||
alias restart='sudo shutdown now -r'
|
alias restart='sudo shutdown now -r'
|
||||||
alias s='cd ~/.ssh'
|
alias s='cd ~/.ssh'
|
||||||
alias sc='vim ~/.ssh/config'
|
alias sc='vim ~/.ssh/config'
|
||||||
|
@ -260,6 +252,10 @@ alias gxx='git reset --hard HEAD~1'
|
||||||
alias gstats='echo "Total commits: $(git rev-list HEAD --count)"; echo "\nAuthor breakdown:"; git shortlog | grep -E "^[^ ]"'
|
alias gstats='echo "Total commits: $(git rev-list HEAD --count)"; echo "\nAuthor breakdown:"; git shortlog | grep -E "^[^ ]"'
|
||||||
alias gwip="git add . && git commit -m \"WIP\""
|
alias gwip="git add . && git commit -m \"WIP\""
|
||||||
|
|
||||||
|
# Haxe
|
||||||
|
alias flow='haxelib run flow'
|
||||||
|
alias snowfall='haxelib run snowfall'
|
||||||
|
|
||||||
# Other aliases
|
# Other aliases
|
||||||
alias pal='vim ~/.private-dotfiles/aliases'
|
alias pal='vim ~/.private-dotfiles/aliases'
|
||||||
test -f ~/.private-dotfiles/aliases && . ~/.private-dotfiles/aliases
|
test -f ~/.private-dotfiles/aliases && . ~/.private-dotfiles/aliases
|
||||||
|
|
Loading…
Reference in New Issue
Block a user