summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>1999-12-28 09:52:50 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>1999-12-28 09:52:50 +0000
commit3be5b10b0310ba35d64a06aeb889e7a783b4aab1 (patch)
treee0c6add87922b77ed8107c03629110aa508fc1d4 /zshrc
parentda307b8c37f9fe40a48938b1b519e9fcb7a3952d (diff)
downloadrootfiles-oxygen.tar
rootfiles-oxygen.tar.gz
rootfiles-oxygen.tar.bz2
rootfiles-oxygen.tar.xz
rootfiles-oxygen.zip
Initial revisionoxygentopic/MandrakeSoft
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc29
1 files changed, 29 insertions, 0 deletions
diff --git a/zshrc b/zshrc
new file mode 100644
index 0000000..214ead7
--- /dev/null
+++ b/zshrc
@@ -0,0 +1,29 @@
+## Linux-Mandrake configuration
+# Chmouel Boudjnah <chmouel@mandrakesoft.com>
+
+# Insert
+bindkey "^[[2~" yank
+
+# Suppr
+bindkey "^[[3~" delete-char
+
+# Begin
+bindkey "^[[1~" beginning-of-line
+
+# End
+bindkey "^[[4~" end-of-line
+
+# Up
+bindkey "^[[5~" up-line-or-history
+
+# Down
+bindkey "^[[6~" down-line-or-history
+
+# Completion for zsh, if you have a slow machine comment these lines !!!
+_compdir=/usr/share/zsh/functions/Core
+[[ -z $fpath[(r)$_compdir] ]] && fpath=($fpath $_compdir)
+autoload -U compinit
+compinit
+
+# Exemple how do you can make a macro with zsh :
+# bindkey -s ^xs '\C-e"\C-asu -c "'