Browse Source

Merge branch 'master' of git.xchg.sh:angrygoats/essentials

master
Taylor Bockman 5 years ago
parent
commit
dd8df78848
  1. 6
      dotfiles/bash/bashrc

6
dotfiles/bash/bashrc

@ -6,7 +6,13 @@
# This monstrosity returns the directory of the .bashrc from it's symlinked source so we can
# call script files correctly.
if [[ "$OSTYPE" == "linux-gnu" ]]; then
symlink_dir=$(cd "$( dirname "`readlink -f ${BASH_SOURCE[0]}`" )" && pwd)
else
# OS X is not a fan of `readlink -f`
symlink_dir=$(cd "$( dirname "`readlink ${BASH_SOURCE[0]}`" )" && pwd)
fi
# -------------------------------- SETUP -------------------------------- #

Loading…
Cancel
Save