From ed4daf7429bf2580118aad87b8f3e2011efed7ec Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Thu, 14 Jul 2022 19:09:06 -0400 Subject: Initial commit --- .config/shells/zsh/.zshrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .config/shells/zsh/.zshrc (limited to '.config/shells/zsh/.zshrc') diff --git a/.config/shells/zsh/.zshrc b/.config/shells/zsh/.zshrc new file mode 100644 index 0000000..800c5af --- /dev/null +++ b/.config/shells/zsh/.zshrc @@ -0,0 +1,24 @@ +source ~/.zprofile +export SHELLDIR="$XDG_CONFIG_HOME/shells" +export ZSH="$SHELLDIR/zsh" +autoload -U +X compinit +compinit -d $XDG_CACHE_HOME/zcompdump-artix-5.8 +fpath=($ZSH/plugins/zsh-completions/src $fpath) +source $SHELLDIR/aliasrc +source $SHELLDIR/colorsrc # contians color substituions +source $SHELLDIR/cpwdrc # contains _collapsed_pwd +bindkey -v +HISTFILE="$XDG_CACHE_HOME/zshHIST" +SAVEHIST=100 +HISTSIZE=5000 +setopt prompt_subst +autoload -U colors && colors +#PROMPT='%{$fg_bold[$shColor]%}%n%{$reset_color%}@%m\ +#:[%{$fg_bold[$shColor]%}$(_collapsed_pwd)%{$reset_color%}]:$ ' +#PROMPT='%{$fg_bold[$shColor]%}$comSym%{$reset_color%}:[%{$fg_bold[$shColor]%}%c%{$reset_color%}]:$ ' +PROMPT='%{$fg_bold[$shColor]%}$comSym%{$reset_color%} in %{$fg_bold[$shColor]%}%c%{$reset_color%} +→ ' +source $ZSH/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source $ZSH/plugins/fzf-tab/fzf-tab.zsh +source $SHELLDIR/funcrc + -- cgit v1.2.3