1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-18 16:26:50 +00:00

Update path and rtx scripts to use local bin folder

This commit is contained in:
Luna 2023-06-05 18:46:54 +02:00
parent 53ea70566c
commit 3bcb5ded4e
3 changed files with 33 additions and 34 deletions

View file

@ -8,5 +8,5 @@ grep -q 'npm' <<< $devTools && export PATH="$PATH:$HOME/.local/npm/bin"
grep -q 'GO' <<< $devTools && export PATH="$PATH:$(go env GOPATH)/bin"
grep -q 'android' <<< $devTools && export ANDROID_SDK_ROOT="$HOME/.android-sdk"
grep -q 'pulumi' <<< $devTools && export PATH="$PATH:$HOME/.pulumi/bin"
[ -n $GOPATH ] && export PATH="$GOPATH/bin:$PATH"
export PATH="$PATH:$HOME/.local/bin"
#[ -n $GOPATH ] && export PATH="$GOPATH/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"

View file

@ -1,4 +1,4 @@
if test -f "$HOME/.pyenv/bin/pyenv"; then
if [[ -d "$HOME/.pyenv/" ]]; then
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

View file

@ -1,7 +1,6 @@
export RTX_SHELL=zsh
if iscmd rtx; then
rtx() {
local command
command="${1:-}"