change dotfile manager to tuckr
This commit is contained in:
parent
5efa1c4ce5
commit
f181cd388a
206 changed files with 18 additions and 1329 deletions
63
Configs/zsh/zprofile
Normal file
63
Configs/zsh/zprofile
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
#!/usr/bin/zsh
|
||||
|
||||
update_path() {
|
||||
export PATH="$PATH:$1"
|
||||
}
|
||||
|
||||
# Set manually
|
||||
export REPOS="$HOME/.local/share/chezmoi"
|
||||
export DOTS="$REPOS/Private/dots"
|
||||
export EDITOR=nvim
|
||||
export VISUAL="$EDITOR"
|
||||
export QT_STYLE_OVERRIDE=kvantum
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
|
||||
update_path "$DOTS/scripts"
|
||||
update_path "$HOME/.local/bin"
|
||||
update_path "$HOME/bin"
|
||||
update_path "/usr/local/bin"
|
||||
|
||||
# Dev Stuff
|
||||
{{ #if (is_executable "npm") }}
|
||||
export NPM_PACKAGES="$HOME/.npm-packages"
|
||||
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
|
||||
|
||||
# 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)"
|
||||
|
||||
update_path "$NPM_PACKAGES/bin"
|
||||
{{ /if }}
|
||||
|
||||
{{ #if (is_executable "pnpm") }}
|
||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||
export ESLINT_USE_FLAT_CONFIG=true
|
||||
update_path "$PNPM_HOME"
|
||||
{{ /if }}
|
||||
|
||||
{{ #if (command_success "[ -d $HOME/.bun ]") }}
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
update_path "$BUN_INSTALL/bin"
|
||||
|
||||
# bun completions
|
||||
[ -s "/home/aleidk/.bun/_bun" ] && source "/home/aleidk/.bun/_bun"
|
||||
|
||||
{{ /if }}
|
||||
|
||||
{{ #if (is_executable "rye") }}
|
||||
source "$HOME/.rye/env"
|
||||
{{ /if }}
|
||||
|
||||
{{ #if (is_executable "cargo") }}
|
||||
. "$HOME/.cargo/env"
|
||||
update_path "$HOME/.cargo/bin/"
|
||||
{{ /if }}
|
||||
|
||||
{{~ #if (eq (env_var "OS") "macos") }}
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
{{ /if ~}}
|
||||
|
||||
{{ #if (command_success "[ -e /home/linuxbrew/.linuxbrew/bin/brew ]") }}
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
{{ /if ~}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue