This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/bin/paths

18 lines
530 B
Plaintext
Raw Normal View History

2020-01-17 03:02:53 -06:00
#!/usr/bin/env sh
export GOPATH="$HOME/.go"
# PATH=$PATH:$APPENDED_PATH
PATH="$DOTFILES_PATH/bin":$PATH
PATH="$ENV_PATH/bin":$PATH
[ -d "$HOME/.bin" ] && PATH=$PATH:"$HOME/.bin"
PATH=$PATH:"$HOME/.cargo/bin"
PATH=$PATH:"$HOME/.yarn/bin"
PATH=$PATH:"$GOPATH/bin"
[ -d "$HOME/.local/bin" ] && PATH=$PATH:"$HOME/.local/bin"
has_command python && PATH="$(python -m site --user-base)/bin:$PATH"
has_command ruby && PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
export PATH
export NOTES_PATH="${NOTES_PATH:-$NICE_HOME/doc/notes}"