feat(zsh): Add basic zsh configuration

This commit is contained in:
2024-10-27 08:00:19 -05:00
parent e6b9b0c92f
commit 4bdfcb138b
3 changed files with 19 additions and 0 deletions
+2
View File
@@ -1,2 +1,4 @@
--dotfiles
# Unfold directories (symlink the files not the folders) so dotfiles works
--no-folding
--target=$HOME
+3
View File
@@ -0,0 +1,3 @@
autoload -U compinit; compinit
eval "$(starship init zsh)"
+14
View File
@@ -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