zsh: remove old aliases

master
Guillaume Dott 2018-06-07 10:55:25 +02:00
parent 4d5f06655a
commit e4d494faa7
2 changed files with 3 additions and 8 deletions

0
zsh/zprofile 100644 → 100755
View File

View File

@ -146,13 +146,9 @@ alias mv='mv -i'
alias tmux='tmux -2' alias tmux='tmux -2'
alias mv_p='rsync --progress --remove-source-files -h' alias mv_p='rsync --progress --remove-source-files -h'
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias windows='sudo grub-reboot 2;sudo reboot' alias poweroff='systemctl poweroff'
alias youtube='quvi --exec "mplayer %u"'
alias poweroff='sudo poweroff'
alias xephyr-dualscreen='Xephyr -ac -br -noreset -screen 800x600 -screen 800x600 :1& sleep 3; DISPLAY=:1; setxkbmap fr bepo' alias xephyr-dualscreen='Xephyr -ac -br -noreset -screen 800x600 -screen 800x600 :1& sleep 3; DISPLAY=:1; setxkbmap fr bepo'
alias xephyr-onescreen='Xephyr -ac -br -noreset -screen 800x600 :1& sleep 3; DISPLAY=:1; setxkbmap fr bepo' alias xephyr-onescreen='Xephyr -ac -br -noreset -screen 800x600 :1& sleep 3; DISPLAY=:1; setxkbmap fr bepo'
alias reload="pkill -u `id -u` --signal USR1 zsh"
alias loadkeychain='eval $(/usr/bin/keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa)'
alias be='bundle exec' alias be='bundle exec'
alias git-count="gawk '{ add += \$1 ; subs += \$2 ; loc += \$1 - \$2 } END { printf \"added lines: %s, removed lines : %s, total lines : %s\n\", add, subs, loc }\' -" alias git-count="gawk '{ add += \$1 ; subs += \$2 ; loc += \$1 - \$2 } END { printf \"added lines: %s, removed lines : %s, total lines : %s\n\", add, subs, loc }\' -"
@ -197,6 +193,5 @@ function fake_git() {
GIT_COMMITTER_DATE=$DATE git commit --date=$DATE "$@" GIT_COMMITTER_DATE=$DATE git commit --date=$DATE "$@"
} }
trap "source ~/.zshrc && rehash" USR1 source /usr/share/chruby/chruby.sh
source /usr/share/chruby/auto.sh
loadkeychain