diff --git a/.stowrc b/.stowrc index 3af6ac2..f291644 100644 --- a/.stowrc +++ b/.stowrc @@ -1,2 +1,4 @@ --dotfiles +# Unfold directories (symlink the files not the folders) so dotfiles works +--no-folding --target=$HOME diff --git a/dot-config/zsh/dot-zshrc b/dot-config/zsh/dot-zshrc new file mode 100644 index 0000000..b6f6f01 --- /dev/null +++ b/dot-config/zsh/dot-zshrc @@ -0,0 +1,3 @@ +autoload -U compinit; compinit + +eval "$(starship init zsh)" diff --git a/dot-zshenv b/dot-zshenv new file mode 100644 index 0000000..9bd78b8 --- /dev/null +++ b/dot-zshenv @@ -0,0 +1,14 @@ +# XDG +export XDG_CONFIG_HOME=$HOME/.config +export XDG_DATA_HOME=$XDG_CONFIG_HOME/local/share +export XDG_CACHE_HOME=$XDG_CONFIG_HOME/cache + +# editor +export EDITOR="nvim" +export VISUAL="nvim" + +# zsh +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +export HISTFILE="$ZDOTDIR/.zhistory" +export HISTSIZE=10000 +export SAVEHIST=10000