summary refs log tree commit diff
path: root/dot_config/zsh/dot_zshrc
diff options
context:
space:
mode:
authorAlen <alen@dotfiles.xyz>2023-09-23 23:41:59 +0400
committerAlen <alen@dotfiles.xyz>2023-09-23 23:41:59 +0400
commite73d487c6e9b3dacbf18a979f593c1c20539e459 (patch)
tree9b454568ad7bf29b72ac0ba9357c225fd3476cb1 /dot_config/zsh/dot_zshrc
parent94d6fa3758033e2834ba2844bd06827adf454959 (diff)
Move $ZDOTDIR to ~/.config/zsh
Diffstat (limited to 'dot_config/zsh/dot_zshrc')
-rw-r--r--dot_config/zsh/dot_zshrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc
new file mode 100644
index 0000000..13b626a
--- /dev/null
+++ b/dot_config/zsh/dot_zshrc
@@ -0,0 +1,12 @@
+# Set up nice and lengthy history
+export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history"
+export HISTSIZE=1000000
+export SAVEHIST=1000000
+
+# Simple prompt
+PROMPT="%F{15}%K{4}%n@%M:%~%f%k "
+RPROMPT="%(?.%F{10}%?.%F{9}%?)%f %T"
+
+# Just do a simple compinit for now
+autoload -U compinit
+compinit