summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
authorPaul Iannetta <paul.iannetta@inria.fr>2018-11-19 00:51:01 +0100
committerPaul Iannetta <paul.iannetta@inria.fr>2018-11-19 00:51:01 +0100
commitb209dd98527fd357e716d44ec4adb430504eae56 (patch)
tree4269768238d352dea0f2cd079c27379418d502c3 /.config/zsh/.zshrc
parent52967fde6b3424372a5d4790e6c5c21dc3096913 (diff)
zsh dot files
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