mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-27 21:47:46 +01:00
changing aliases and zsh command-not-found-handler
This commit is contained in:
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…
x
Reference in New Issue
Block a user