Browse Source

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

Taylor Bockman 5 years ago
parent
commit
4f86a50fd0
  1. 8
      dotfiles/bash/bashrc

8
dotfiles/bash/bashrc

@ -6,7 +6,13 @@
# This monstrosity returns the directory of the .bashrc from it's symlinked source so we can # This monstrosity returns the directory of the .bashrc from it's symlinked source so we can
# call script files correctly. # call script files correctly.
symlink_dir=$( cd "$( dirname "`readlink -f ${BASH_SOURCE[0]}`" )" && pwd )
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 -------------------------------- # # -------------------------------- SETUP -------------------------------- #

Loading…
Cancel
Save