Port to MacOS

This commit is contained in:
Gwen Lofman 2018-06-21 15:13:42 -04:00
parent 60c605dbcd
commit eb58ee204d
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ case $- in
*) return;;
esac
DIR="$(dirname $(readlink -f ~/.bashrc))"
DIR="$(dirname $(readlink ~/.bashrc))"
# load all dotfiles in dotfiles repository
for DOTFILE in `find $DIR/system/.{prompt,alias,functions,path,env}.sh`

View File

@ -13,9 +13,9 @@ DIR=$(pwd -L)
echo -e "\n${GREEN}linking config files...${NC}\n"
ln -sbv "$DIR/.bashrc" ~
ln -sbv "$DIR/profiles/.bash_profile" ~
ln -sbv "$DIR/profiles/.inputrc" ~
ln -sbv "$DIR/profiles/.vimrc" ~
ln -sbv "$DIR/git/.gitconfig" ~
ln -sbv "$DIR/git/.gitignore_global" ~
ln -sv "$DIR/.bashrc" ~
ln -sv "$DIR/profiles/.bash_profile" ~
ln -sv "$DIR/profiles/.inputrc" ~
ln -sv "$DIR/profiles/.vimrc" ~
ln -sv "$DIR/git/.gitconfig" ~
ln -sv "$DIR/git/.gitignore_global" ~