dotfiles/bootstrapping.sh

6 lines
193 B
Bash
Raw Normal View History

2014-04-14 21:49:44 -06:00
readlink_command='readlink'
command -v greadlink > /dev/null && readlink_command="greadlink"
function dotfiles_abspath() {
echo "$(${readlink_command} -f "$BASH_SOURCE" | xargs dirname)"
}