|
|
@ -56,12 +56,17 @@ alias rm="rm -i"
|
|
|
|
# root/sudo
|
|
|
|
# root/sudo
|
|
|
|
alias su="sudo -i"
|
|
|
|
alias su="sudo -i"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#sc-im
|
|
|
|
|
|
|
|
alias sc-im="sc"
|
|
|
|
|
|
|
|
|
|
|
|
# script
|
|
|
|
# script
|
|
|
|
alias scriptclear="cat typescript | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g' | col -b > typescript-processed"
|
|
|
|
alias scriptclear="cat typescript | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g' | col -b > typescript-processed"
|
|
|
|
|
|
|
|
|
|
|
|
# nvim
|
|
|
|
# nvim
|
|
|
|
alias svim="sudo nvim"
|
|
|
|
alias svim="sudo nvim"
|
|
|
|
|
|
|
|
alias svi="sudo nvim"
|
|
|
|
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d"
|
|
|
|
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d"
|
|
|
|
|
|
|
|
command -v nvim >/dev/null && alias vi="nvim" vidiff="nvim -d"
|
|
|
|
|
|
|
|
|
|
|
|
# weather
|
|
|
|
# weather
|
|
|
|
alias weather="curl wttr.in"
|
|
|
|
alias weather="curl wttr.in"
|
|
|
|