aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc26
1 files changed, 26 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$"`