summaryrefslogtreecommitdiff
path: root/.config/.zshrc
diff options
context:
space:
mode:
authorpryazha <pryadeiniv@mail.ru>2025-06-23 09:50:50 +0500
committerpryazha <pryadeiniv@mail.ru>2025-06-23 09:50:50 +0500
commit4ac02285f9f03626f0a3bbd7ed51c7f94098c39f (patch)
treebc31769fc4d92af3ae222e2ed6efa9c9b516f4e0 /.config/.zshrc
parent82c8e73151f7b7f6aa2d5eb06e407393bf025591 (diff)
add zsh config
Diffstat (limited to '.config/.zshrc')
-rw-r--r--.config/.zshrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/.zshrc b/.config/.zshrc
new file mode 100644
index 0000000..8df0122
--- /dev/null
+++ b/.config/.zshrc
@@ -0,0 +1,19 @@
+HISTFILE=~/.histfile
+HISTSIZE=1000
+SAVEHIST=1000
+unsetopt autocd beep
+bindkey -e
+
+zstyle :compinstall filename '/home/pryazha/.zshrc'
+autoload -Uz compinit
+compinit
+
+PATH="/home/pryazha/projects/dotfiles/scripts:$PATH"
+
+# PS1="%n %d"$'\n'"> "
+PS1="%1~ > "
+PS2=">> "
+
+if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
+ exec startx &>/dev/null
+fi