aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc26
-rw-r--r--update.sh1
2 files changed, 27 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..bde898c
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,26 @@
+HISTFILE=~/.histfile
+HISTSIZE=100000
+SAVEHIST=100000
+
+PATH=$PATH:~/.local/bin
+PS1="%B%F{green}%2~%F{fg}>%B"
+
+alias ls="ls --color=auto"
+alias grep="grep --color=auto"
+
+autoload -U compinit
+compinit
+
+setopt LIST_PACKED
+setopt AUTO_PARAM_SLASH
+setopt HIST_IGNORE_ALL_DUPS
+
+bindkey "^[[1;5C" forward-word
+bindkey "^[[1;5D" backward-word
+
+zstyle ":completion:*" menu select
+zstyle ":completion:*:*:*:*:descriptions" format "%B%F{green}%d%f"
+zstyle ":completion:*" group-name ""
+
+source .zshextra
+source `xbps-query -f zsh-syntax-highlighting | grep "zsh-syntax-highlighting.zsh$"`
diff --git a/update.sh b/update.sh
index 1ad6f57..9ee54b4 100644
--- a/update.sh
+++ b/update.sh
@@ -9,6 +9,7 @@ mkdir -p src/dwm
mkdir -p src/dmenu
cp ~/.xinitrc .
+cp ~/.zshrc .
# Suckless
cp ~/git/st/config.h ./src/st