some path changes

This commit is contained in:
piecka 2024-11-12 08:53:11 +01:00
parent 30b8e04805
commit 4079e7bc40

17
.zshrc
View file

@ -628,25 +628,24 @@ _environment(){
fi
fi
if [ -d "$HOME/go/bin" ]; then
export PATH="$HOME/go/bin:$PATH"
fi
[ -d "$HOME/go/bin" ] && export PATH="$HOME/go/bin:$PATH"
[ -e "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"
# bun completions
[ -s "/home/pika/.bun/_bun" ] && . "$HOME/.bun/_bun"
[ -s "/home/pika/.bun/_bun" ] && export BUN_INSTALL="$HOME/.bun" && export PATH="$BUN_INSTALL/bin:$PATH"
}
main(){
get_packager
_init
_alias
_coding_
_environment
_coding_
_alias
error_log
}
if check_root; then
main
fi
# bun completions
[ -s "/home/pika/.bun/_bun" ] && . "$HOME/.bun/_bun"
[ -s "/home/pika/.bun/_bun" ] && export BUN_INSTALL="$HOME/.bun" && export PATH="$BUN_INSTALL/bin:$PATH"