aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authoriamcheeseman <[hidden email]>2026-01-28 16:19:02 -0500
committeriamcheeseman <[hidden email]>2026-01-28 16:19:02 -0500
commit8a391edebffc746b6a7825f0fb86a37ae426fecf (patch)
treedbf0da7464034e8c2642d43f3f137cffe15f3fd4 /.zshrc
parent288b488f9b2515a39a99ab385df32e0e1ed6a9b9 (diff)
Add zshrc
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$"`