Clean up zshrc comments

This commit is contained in:
lhark 2017-10-19 02:44:43 -04:00
parent cd310ccd25
commit 59250b2cfe

10
zshrc
View file

@ -109,7 +109,7 @@ esac
############### ###############
unsetopt rm_star_silent # Demande confirmation pour 'rm *' -> ou 'rm path/*' unsetopt rm_star_silent # Demande confirmation pour 'rm *' -> ou 'rm path/*'
unsetopt glob_dots # (disabled) Do not require a leading `.' in a filename to be matched explicitly. unsetopt glob_dots # (disabled) Do not require a leading '.' in a filename to be matched explicitly.
setopt null_glob # Delete pattern when no match found, instead of erroring setopt null_glob # Delete pattern when no match found, instead of erroring
# (disabled) If there is an unambiguous prefix to insert on # (disabled) If there is an unambiguous prefix to insert on
# the command line, that is done without a completion list being displayed # the command line, that is done without a completion list being displayed
@ -119,7 +119,7 @@ setopt null_glob # Delete pattern when no match found, instead of err
#unsetopt clobber #unsetopt clobber
setopt auto_remove_slash # Auto remove slash at the end of autocomp when appropriate setopt auto_remove_slash # Auto remove slash at the end of autocomp when appropriate
setopt chase_links # Traite les liens symboliques comme il faut setopt chase_links # Traite les liens symboliques comme il faut
setopt hist_verify # !! n'est pas exécuté directement setopt hist_verify # !! n\'est pas exécuté directement
setopt promptsubst # Enable prompt substitution: vars are recalculated. you need '$foo' setopt promptsubst # Enable prompt substitution: vars are recalculated. you need '$foo'
setopt hist_ignore_all_dups # Only keep last version of duplicate command setopt hist_ignore_all_dups # Only keep last version of duplicate command
setopt sharehistory # Import new cmds from hist file & append typed cmds setopt sharehistory # Import new cmds from hist file & append typed cmds
@ -129,7 +129,7 @@ setopt pushdsilent # Silent pushd & popd
setopt pushdtohome # pushd = pushd $HOME setopt pushdtohome # pushd = pushd $HOME
setopt pushdignoredups setopt pushdignoredups
setopt pushdminus # This reverts the +/- operators for pushd. setopt pushdminus # This reverts the +/- operators for pushd.
setopt extendedglob # Treat `#', `~' and `^' chars as part of patterns for filenames, etc. setopt extendedglob # Treat '#', '~' and '^' chars as part of patterns for filenames, etc.
EXPORTTIME=0 # (Disabled) Display command execution time EXPORTTIME=0 # (Disabled) Display command execution time
COMPLETION_WAITING_DOTS=1 # Display red dots while zsh autocompletes COMPLETION_WAITING_DOTS=1 # Display red dots while zsh autocompletes
@ -164,10 +164,6 @@ zstyle ':completion:*' verbose true
# Des couleurs pour la complétion cf kill -9 <tab><tab> # Des couleurs pour la complétion cf kill -9 <tab><tab>
zstyle ':completion:*:*:kill:*:processes' list-colors "=(#b) #([0-9]#)*=36=31" zstyle ':completion:*:*:kill:*:processes' list-colors "=(#b) #([0-9]#)*=36=31"
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
zstyle ':mime:*' mailcap /etc/mailcap
# video/*; /usr/bin/mplayer '%s';
# text/*; less '%s';
# audio/*; /usr/bin/mplayer '%s';
# Crée un cache des complétion possibles # Crée un cache des complétion possibles
# très utile pour les complétion qui demandent beaucoup de temps # très utile pour les complétion qui demandent beaucoup de temps
# comme la recherche d'un paquet aptitude install moz<tab> # comme la recherche d'un paquet aptitude install moz<tab>