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/shell/paths
2018-10-31 14:40:57 -05:00

21 lines
436 B
Bash

#!/usr/bin/env bash
export GOPATH="$HOME/.go"
# PATH=$PATH:$APPENDED_PATH
export PATH=$PATH:"$GOPATH/bin"
export PATH=$PATH:"$DOTFILES_PATH/scripts/bin"
export PATH=$PATH:"$HOME/.cargo/bin"
if [ -d "$HOME/.local/bin" ]; then
export PATH=$PATH:"$HOME/.local/bin"
fi
if [ -d "$HOME/.bin" ]; then
export PATH=$PATH:"$HOME/.bin"
fi
if command -v ruby >/dev/null 2>&1; then
export PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
fi