diff options
Diffstat (limited to 'bashrc')
| -rw-r--r-- | bashrc | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +pathadd() { + if [ -d "$1" ] && [[ "$PATH" != *"$1"* ]]; then + PATH=$PATH":$1" + fi +} + +pathadd ${HOME}/.local/bin + +DOTFILES_LOCATION=$(dirname $(readlink -f $HOME/.bashrc)) +export DOTFILES_LOCATION + +source $DOTFILES_LOCATION/aliases + +#exec xonsh + |
