diff --git a/zsh/aliases b/zsh/aliases index 567229d..1bd7afa 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -3,6 +3,7 @@ platform=`uname` if [[ $platform == 'Linux' ]]; then alias l='ls -lhg --color' alias ll='ls -lahg --color' + alias flux='redshift' elif [[ $platform == 'Darwin' ]]; then alias l='ls -laG' alias ls='ls -laG' @@ -31,6 +32,7 @@ alias bld='brew link --overwrite --dry-run' alias bower='noglob bower' alias bu='bundle update' alias bo='bundle open' +alias cl='cloc --no3 --by-file-by-lang .' alias cls=clear alias code='cd ~/code' alias cpr='cp -r' @@ -50,7 +52,8 @@ alias hca='heroku config:add' alias hcu='heroku config:unset' alias hcr='heroku config:unset' alias hl='heroku logs -t -n 5000' -alias hr='heroku restart' +alias hr='heroku releases' +alias hrs='heroku restart' alias irb='irb --readline -r irb/completion' alias lcc='lein clean' alias lca='lein cljsbuild auto dev' @@ -72,7 +75,8 @@ alias opensource='cd ~/.personal-files/dev/open-source' alias patch='git format-patch HEAD^ --stdout > patch.diff' alias pi='yaourt -S' # wrapper around Arch Pacman alias po='pacman -Qdt' # see orphaned packages -alias pr='yaourt -R' +alias pr='yaourt -R' giving me trouble now +alias prr='pacman -Rdd' alias pss='sudo pacman -Syu' alias pu='yaourt -U' alias reguard='killall -9 ruby ; guard' @@ -88,8 +92,10 @@ alias rmr='rm -rf' alias rc='rails console' alias rs='rails server' alias reload='source ~/.zshrc' +alias restart='sudo shutdown now -r' alias s='cd ~/.ssh' alias sc='vim ~/.ssh/config' +alias shutdown='sudo shutdown now' alias t='tree' alias u='cd ..' alias v='vim' @@ -169,7 +175,7 @@ alias gpu='git push --set-upstream origin HEAD' alias gpff='git pull --ff-only' alias gpl='echo "you may want to use gpff instead" ; git pull' alias gplup='git pull upstream master' -alias gpo='git push origin -u' +alias gpo='git push origin' alias gpom='git push origin master' alias gpr='git pull --rebase' alias gpt='git push --tags'