summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zshrc')
-rwxr-xr-x.config/zsh/.zshrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
new file mode 100755
index 0000000..04da72e
--- /dev/null
+++ b/.config/zsh/.zshrc
@@ -0,0 +1,32 @@
+#
+# This file is based on the configuration written by
+# Bruno Bonfils, <asyd@debian-fr.org>
+# Written since summer 2001
+
+# colors
+eval `dircolors $ZDOTDIR/colors`
+
+autoload -U zutil
+autoload -U compinit
+autoload -U complist
+
+bindkey "\e[2~" overwrite-mode # Ins
+bindkey "\e[3~" delete-char # Delete
+bindkey '\eOH' beginning-of-line
+bindkey '\eOF' end-of-line
+
+bindkey "${terminfo[khome]}" beginning-of-line
+bindkey "${terminfo[kend]}" end-of-line
+
+# Activation
+compinit
+
+# Resource files
+for file in $ZDOTDIR/rc/*.rc; do
+ source $file
+done
+
+# plugin files
+for file in $ZDOTDIR/plugin/*.plugin; do
+ source $file
+done