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
2020-01-17 03:02:53 -06:00

18 lines
543 B
Bash

#!/usr/bin/env sh
echo "paths"
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}"