changing aliases and zsh command-not-found-handler

master
tiynger 5 years ago
parent 66dd6591ec
commit 175d593c7c

@ -4,10 +4,6 @@
alias ":wq"="exit"
alias ":q"="exit"
# calcurse
alias cal="calcurse-caldav --init=keep-remote && calcurse"
alias calchange="cd ~/.calcurse/caldav"
# cd
alias ".."="cd .."
alias "..1"="cd .."
@ -30,7 +26,7 @@ sc() { find ~/.config/* ~/.local/bin/* -type f | fzf | xargs -r $EDITOR ;}
sd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
# git
alias TexHandout="cp ~/github/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex"
alias TexHandout="cp ~/gitrepos/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex"
# grep
alias grep="grep --color=auto"
@ -64,7 +60,6 @@ alias ping="ping -c 5"
alias rm="rm -i"
# root/sudo
alias root="sudo -i"
alias su="sudo -i"
# nvim

@ -49,6 +49,9 @@ preexec() { echo -ne '\e[5 q' ;}
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Load aliases
# Load command-not-found-handler
source /usr/share/doc/pkgfile/command-not-found.zsh
# Load zsh-syntax-highlighting; should be last.
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null

Loading…
Cancel
Save