Changes
This commit is contained in:
parent
4583c864e0
commit
3edefce2c8
@ -23,6 +23,7 @@ function asroot(){
|
||||
xauth extract $TEMPFILE $DISPLAY
|
||||
sudo zsh -c "xauth merge $TEMPFILE;(srm $TEMPFILE||rm $TEMPFILE)&'$@';"
|
||||
}
|
||||
alias where="readlink -e"
|
||||
alias ocp="ocp -vs0 -dcurses"
|
||||
alias dumpx="xauth extract /tmp/xauthstuff $DISPLAY"
|
||||
alias impx="xauth merge /tmp/xauthstuff;rm /tmp/xauthstuff"
|
||||
@ -41,7 +42,7 @@ alias tmux='tmux -2'
|
||||
alias less='less -R'
|
||||
alias tree='tree -C'
|
||||
alias skim="(head -5; tail -5) <"
|
||||
alias cp='rsync -ha --info=progress2 "$@"'
|
||||
alias cp='rsync --partial -ha --info=progress2 "$@"'
|
||||
function mv() { /bin/mv -v "$@" }
|
||||
function m() { mv "$@" }
|
||||
compdef _cp c m mv cp copy
|
||||
@ -107,7 +108,7 @@ alias stdns="sudo sh -c 'echo nameserver 8.8.8.8 > /etc/resolv.conf'"
|
||||
alias fvim="vim -u NONE +\"so ~/.vim/plugged/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/plugged/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\""
|
||||
alias fk='k `fzf --no-mouse -m -1 -x`'
|
||||
alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}'
|
||||
alias susp="echo mem | sudo tee /sys/power/state >/dev/null"
|
||||
alias susp="sudo true&&(slock&echo mem | sudo tee /sys/power/state >/dev/null)"
|
||||
alias aoeu='setxkbmap -layout us -option "'
|
||||
alias asdf='setxkbmap -layout dvorak -option ""'
|
||||
alias -s html="firefox"
|
||||
@ -115,7 +116,7 @@ alias -s log="less -MN"
|
||||
alias -s odt="libreoffice"
|
||||
alias -s doc="libreoffice"
|
||||
alias -s docx="libreoffice"
|
||||
alias -g c='rsync -ha --info=progress2 "$@"'
|
||||
alias -g c='rsync --partial -ha --info=progress2 "$@"'
|
||||
alias -g F='`fzf --no-mouse -m -1 -x`'
|
||||
alias -g nify=" > /dev/null 2>&1 &"
|
||||
alias -g nifyd=" > /dev/null 2>&1 & disown"
|
||||
|
Loading…
Reference in New Issue
Block a user