From 72896f1d1d0ae633d360aede3956d42036fd600d Mon Sep 17 00:00:00 2001 From: hugues Date: Wed, 16 May 2007 10:17:44 +0000 Subject: =?utf-8?q?Tout=20plein=20de=20modifs,=20du=20m=C3=A9nage,=20des=20trucs=20en=20plus, =20plus=20beaux,=20moins=20moches,=20plus=20mieux=20et=20tout=20et=20tout=208-)?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@382 a0e5b806-a6f9-0310-978d-cbce73f8a913 --- 20_Options.zsh | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 20_Options.zsh (limited to '20_Options.zsh') diff --git a/20_Options.zsh b/20_Options.zsh new file mode 100644 index 0000000..ca0fb85 --- /dev/null +++ b/20_Options.zsh @@ -0,0 +1,77 @@ +## +## Part of configuration files for Zsh 4 +## by Hugues Hiegel +## +## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS +## +## You are encouraged to use, modify, and redistribute +## these files with or without this notice. +## + +## Zsh options +# +# see man zshoptions(1) for more details ;-) +# + +# J'ai pas très bien compris mais en gros ça va me permettre +# d'être sûr de retrouver ma commande dans tous les cas... +setopt Always_Last_Prompt + +setopt Always_to_End + +# Je préfère nettement faire un "export" sur les variables qui +# m'intéressent plutôt qu'utiliser cette option, car ça fait un +# peu porkasse quand même... +unsetopt All_Export + +## ``cd'' automatique +# Si la commande n'existe pas et qu'elle correspond à +# un dossier, zsh fait automatiquement un ``cd'' dessus. +# Pour les fainéants qui ont la flemme de taper "cd " :-) +setopt Auto_Cd + +## Envoie le signal CONT aux jobs passés en arrière-plan. +setopt Auto_Continue + +## Complétion automatique +setopt Auto_List +setopt Auto_Menu +# Ces trucs sont pénibles car ils n'autorisent pas une +# complétion "petit à petit". +unsetopt Menu_Complete +unsetopt Rec_Exact + +setopt Auto_Param_Keys +unsetopt Auto_Param_Slash +unsetopt Cd_Able_Vars +setopt Complete_Aliases +setopt Complete_in_Word +unsetopt Correct +setopt Correct_All +unsetopt Equals +setopt Extended_Glob +setopt Hash_Cmds +setopt Hash_Dirs + +## Gestion de l'historique +unsetopt Extended_History +setopt Hist_Expire_Dups_First +setopt Hist_Ignore_All_Dups +setopt Hist_Ignore_Space +setopt Hist_No_Functions +unsetopt Hist_No_Store +setopt Hist_Reduce_Blanks +setopt Inc_Append_History + + +setopt Magic_Equal_Subst +setopt Mail_Warning +setopt Mark_Dirs +setopt No_Bg_Nice +setopt No_Hup +setopt No_Prompt_Cr +setopt Numeric_Glob_Sort +unsetopt Prompt_Cr +setopt Auto_Pushd +setopt Pushd_Ignore_Dups +setopt Glob -- cgit v1.2.3