X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=96b45e4e6b43b0500a4624916a774452a4a852b9;hb=7a779b6cf91369c3f364944dc963fa2861754f29;hp=04c99f2ed673da450287f4572a182579f5887b0d;hpb=7495cfbec6d778d14719fe6037385a3391a90d41;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 04c99f2..96b45e4 100644 --- a/zsh/rc +++ b/zsh/rc @@ -16,9 +16,6 @@ # along with this file. If not, see . -source_debug '. ~/.zsh/rc' - - # Warn when creating global variables from inside a function. Needs to be set # before declaring a function. setopt warn_create_global @@ -882,14 +879,14 @@ if (( $+commands[xpdf] )); then command xpdf "$@" 2>/dev/null & disown %command } - compdef _xpdf pdf + compdef pdf=xpdf elif (( $+commands[zathura] )); then pdf() { command zathura "$@" 2>/dev/null & disown %command } # No completion for zathura yet. - compdef _xpdf pdf + compdef pdf=xpdf fi # Better viewer for info pages .. just pipe everything into less. @@ -1071,7 +1068,4 @@ zshrc_restart_precmd() { } precmd_functions+=(zshrc_restart_precmd) - -source_debug '. ~/.zsh/rc (done)' - # vim: ft=zsh