feat(zsh): Add basic zsh configuration
This commit is contained in:
parent
e6b9b0c92f
commit
4bdfcb138b
2
.stowrc
2
.stowrc
@ -1,2 +1,4 @@
|
||||
--dotfiles
|
||||
# Unfold directories (symlink the files not the folders) so dotfiles works
|
||||
--no-folding
|
||||
--target=$HOME
|
||||
|
3
dot-config/zsh/dot-zshrc
Normal file
3
dot-config/zsh/dot-zshrc
Normal file
@ -0,0 +1,3 @@
|
||||
autoload -U compinit; compinit
|
||||
|
||||
eval "$(starship init zsh)"
|
14
dot-zshenv
Normal file
14
dot-zshenv
Normal 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
|
Loading…
x
Reference in New Issue
Block a user