Merge branch 'main' of codeberg.org:aleidk/dots
This commit is contained in:
commit
a5cd767885
4 changed files with 2702 additions and 14 deletions
8
config/rtx/config.toml
Normal file
8
config/rtx/config.toml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
[tools]
|
||||||
|
node = 'lts'
|
||||||
|
# python = {version='3', virtualenv='.venv'}
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
[alias.node]
|
||||||
|
my_custom_node = '20' # makes `rtx install node@my_custom_node` install node-20.x
|
||||||
|
# this can also be specified in a plugin (see below in "Aliases")
|
||||||
2692
config/zsh/completions/_rtx
Normal file
2692
config/zsh/completions/_rtx
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -11,11 +11,9 @@ export VISUAL="$EDITOR"
|
||||||
export QT_STYLE_OVERRIDE=kvantum
|
export QT_STYLE_OVERRIDE=kvantum
|
||||||
|
|
||||||
# Dev Stuff
|
# Dev Stuff
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
|
||||||
export NPM_PACKAGES="$HOME/.npm-packages"
|
export NPM_PACKAGES="$HOME/.npm-packages"
|
||||||
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
|
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
|
||||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
|
|
||||||
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
|
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
|
||||||
# command
|
# command
|
||||||
|
|
@ -31,10 +29,6 @@ update_path "$DOTS/scripts"
|
||||||
update_path "$HOME/bin"
|
update_path "$HOME/bin"
|
||||||
update_path "$NPM_PACKAGES/bin"
|
update_path "$NPM_PACKAGES/bin"
|
||||||
update_path "$PNPM_HOME"
|
update_path "$PNPM_HOME"
|
||||||
update_path "$PYENV_ROOT/bin"
|
update_path "$HOME/.local/share/rtx/shims"
|
||||||
|
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|
||||||
eval "$(pyenv init --path)"
|
|
||||||
|
|
||||||
tmux new-session -d "default"
|
|
||||||
|
|
|
||||||
|
|
@ -44,16 +44,12 @@ ZSH_ALIAS_FINDER_AUTOMATIC=true
|
||||||
# Plugin Config #
|
# Plugin Config #
|
||||||
#--------------------------------------------------------------------#
|
#--------------------------------------------------------------------#
|
||||||
|
|
||||||
# Lazy load nvm, increasy startup time a lot.
|
|
||||||
zstyle ':omz:plugins:nvm' lazy true
|
|
||||||
|
|
||||||
# VI_MODE_RESET_PROMPT_ON_MODE_CHANGE=true
|
# VI_MODE_RESET_PROMPT_ON_MODE_CHANGE=true
|
||||||
# VI_MODE_SET_CURSOR=true
|
# VI_MODE_SET_CURSOR=true
|
||||||
|
|
||||||
ZSHZ_TILDE=1
|
ZSHZ_TILDE=1
|
||||||
|
|
||||||
plugins=(
|
plugins=(
|
||||||
nvm
|
|
||||||
alias-finder
|
alias-finder
|
||||||
# archlinux
|
# archlinux
|
||||||
bgnotify
|
bgnotify
|
||||||
|
|
@ -112,7 +108,5 @@ if [[ "$ZPROF" = true ]]; then
|
||||||
zprof
|
zprof
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
eval "$(rtx activate zsh)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue