feat(zsh): idiomatically organise .zprofile .zshenv and .zshrc
This commit is contained in:
@@ -4,8 +4,8 @@ export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_STATE_HOME="$HOME/.local/state"
|
||||
|
||||
# ~/.local/bin
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
# deduplicate path
|
||||
typeset -U path
|
||||
|
||||
# editor
|
||||
export EDITOR=nvim
|
||||
@@ -13,14 +13,12 @@ export EDITOR=nvim
|
||||
# go
|
||||
export GOPATH="$XDG_DATA_HOME/go"
|
||||
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
|
||||
# ggman
|
||||
export GGROOT="$HOME/git"
|
||||
|
||||
|
||||
# name
|
||||
export NAME="Matej Janežič"
|
||||
|
||||
# starship nest config into a folder, default is ~/.config/startship.toml
|
||||
# starship nest config into a folder, default is ~/.config/starship.toml
|
||||
export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship/config.toml"
|
||||
|
||||
Reference in New Issue
Block a user