X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=.config%2Fzsh%2F.zshrc;fp=.config%2Fzsh%2F.zshrc;h=857db44567c7d2b66da659713a4fac51dd3cdd12;hp=0000000000000000000000000000000000000000;hb=a798b1f596aa7c037f32f45371525331a3e773b2;hpb=739ace9e490fa6e377e36a2c8b8cc7163797a2fe diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc new file mode 100644 index 0000000..857db44 --- /dev/null +++ b/.config/zsh/.zshrc @@ -0,0 +1,33 @@ +# _ +# _______| |__ _ __ ___ +# |_ / __| '_ \| '__/ __| +# _ / /\__ \ | | | | | (__ +# (_)___|___/_| |_|_| \___| +# + +autoload -U colors && colors + +PS1=" %B%{$fg[yellow]%}Z_%{$fg[white]%} %1~ %{$fg[yellow]%}>>>%{$reset_color%}%b " + +## tab completion grid +autoload -U compinit +zstyle ':completion:*' menu select +zmodload zsh/complist +compinit +_comp_options+=(globdots) + +## Enable history +HISTSIZE=10000 +SAVEHIST=10000 +HISTFILE=~/.config/zsh/.zsh_history + +## Vi mode +bindkey -v +export KEYTIMEOUT=1 + +source ~/.config/shell/commonrc + +ufetch-arch + +# Syntax highlight +# source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh