summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2020-10-17 14:15:26 -0400
committerKjetil Orbekk <kj@orbekk.com>2020-10-17 14:15:26 -0400
commitcec47b0d6615696984c9a88bb5c8a2d8bd1efb81 (patch)
tree5c199cc08ebddededc1ebe734461c4e28b2517c7 /zsh
parent82aa216f4e69754dab082a7c1b76f2e985d2cca0 (diff)
new zsh configs
Diffstat (limited to 'zsh')
-rw-r--r--zsh/dot-zshenv5
-rw-r--r--zsh/dot-zshrc13
2 files changed, 18 insertions, 0 deletions
diff --git a/zsh/dot-zshenv b/zsh/dot-zshenv
new file mode 100644
index 0000000..6c6fb69
--- /dev/null
+++ b/zsh/dot-zshenv
@@ -0,0 +1,5 @@
+export EDITOR=nvim
+export TERMINAL=urxvt
+
+typeset -U path PATH
+path=("$HOME/bin" "$path[@]")
diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc
new file mode 100644
index 0000000..be02a33
--- /dev/null
+++ b/zsh/dot-zshrc
@@ -0,0 +1,13 @@
+# Resources:
+# https://github.com/mika/zsh-pony
+
+bindkey -e
+
+autoload -Uz compinit; compinit
+autoload -Uz promptinit; promptinit
+
+zstyle ':completion:*' menu select
+zstyle ':completion::complete:*' gain-privileges 1
+zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
+
+setopt append_history share_history histignorealldups