summaryrefslogtreecommitdiff
path: root/10_Options.zsh
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2006-06-14 22:04:51 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:07 +0100
commitfb8e6a413979695cf315b259d84f77abc5c629db (patch)
tree63508cf94e26931fe261713d7f258e019fdfa534 /10_Options.zsh
parent3dcbc2edb014013cc5af208c1a01c3d5f06bd0fb (diff)
Zsh power !!
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@245 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '10_Options.zsh')
-rw-r--r--10_Options.zsh63
1 files changed, 63 insertions, 0 deletions
diff --git a/10_Options.zsh b/10_Options.zsh
new file mode 100644
index 0000000..bec3477
--- /dev/null
+++ b/10_Options.zsh
@@ -0,0 +1,63 @@
+#!/bin/zsh
+
+## Zsh options
+#
+# zshoptions(1)
+#
+
+# 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.
+setopt Auto_Cd
+
+## Envoie le signal CONT aux jobs passés en arrière-plan.
+setopt Auto_Continue
+
+## Complétion automatique
+setopt Auto_List
+unsetopt Auto_Menu
+setopt Menu_Complete
+
+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
+unsetopt Extended_Glob
+unsetopt Extended_History
+setopt Hash_Cmds
+setopt Hash_Dirs
+
+## Gestion de l'historique
+setopt Hist_Expire_Dups_First
+setopt Hist_Ignore_All_Dups
+setopt Hist_Ignore_Space
+setopt Hist_No_Functions
+setopt 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 Pushd_Ignore_Dups