zsh: add some aliases

This commit is contained in:
Guillaume Dott 2019-04-15 14:01:24 +02:00
parent 64311adfcf
commit c543781e87

View File

@ -126,12 +126,14 @@ alias vi='vim'
alias mv='mv -i'
alias tmux="tmux -2 -f $XDG_CONFIG_HOME/tmux/tmux.conf"
alias mv_p='rsync --progress --remove-source-files -h'
alias rsync-to-ntfs='rsync -rltDuv --modify-window=1'
alias ls='ls --color=auto'
alias poweroff='systemctl poweroff'
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-onescreen='Xephyr -ac -br -noreset -screen 800x600 :1& sleep 3; DISPLAY=:1; setxkbmap fr bepo'
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 subdl="subdl --output={m}.{L}.{S}"
## Docker ##
alias dcb='docker-compose build'