X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=zsh%2Frc;h=b6c359c8f577c58ec1274013b6c55fc9139a7aa1;hb=7dd54dfed63769d41326e9ef6c092a6d436df6d4;hp=908896121d042ad4f7123c04a9367b7a9c48ae1a;hpb=1fca0311a9b2f77e4f48e7dfaec3bee82e13ec97;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 9088961..b6c359c 100644 --- a/zsh/rc +++ b/zsh/rc @@ -528,11 +528,17 @@ if [[ $TERM == screen* || $TERM == xterm* || $TERM == rxvt* ]]; then program_name=git ;; m) - program_name=mutt + program_name=make + ;; + p) + program_name=less ;; v) program_name=vim ;; + mu) + program_name=mutt + ;; esac # Add an exclamation mark at the beginning if running with sudo or if @@ -734,6 +740,12 @@ zle -C complete-files complete-word _generic zstyle ':completion:complete-files:*' completer _files bindkey '^F' complete-files +# Completion for my wrapper scripts +compdef slocate=locate +compdef srsync=rsync +compdef srsync-incremental=rsync +compdef svalgrind=valgrind + # CUSTOM ALIASES AND FUNCTIONS