refactor config
This commit is contained in:
commit
4f0e213f4a
155 changed files with 13983 additions and 0 deletions
38
config/zsh/zprofile
Executable file
38
config/zsh/zprofile
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
#!/usr/bin/zsh
|
||||
|
||||
update_path() {
|
||||
export PATH="$PATH:$1"
|
||||
}
|
||||
|
||||
# Set manually
|
||||
export DOTS="$HOME/Repos/Private/dots"
|
||||
export EDITOR=nvim
|
||||
export VISUAL="$EDITOR"
|
||||
export QT_STYLE_OVERRIDE=kvantum
|
||||
|
||||
# Dev Stuff
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export NPM_PACKAGES="$HOME/.npm-packages"
|
||||
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
|
||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
|
||||
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
|
||||
# command
|
||||
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
|
||||
export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
|
||||
|
||||
# PATH
|
||||
update_path "/usr/local/bin"
|
||||
update_path "$HOME/.local/bin"
|
||||
update_path "$HOME/.cargo/bin/"
|
||||
update_path "$HOME/.spicetify"
|
||||
update_path "$HOME/Repos/Private/scripts"
|
||||
update_path "$HOME/bin"
|
||||
update_path "$NPM_PACKAGES/bin"
|
||||
update_path "$PNPM_HOME"
|
||||
update_path "$PYENV_ROOT/bin"
|
||||
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
eval "$(pyenv init --path)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue