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

16 lines
286 B
Bash

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