From eb58ee204d7d56919d84bac40cae35cf3ee1a485 Mon Sep 17 00:00:00 2001 From: Gwen Lofman Date: Thu, 21 Jun 2018 15:13:42 -0400 Subject: [PATCH] Port to MacOS --- .bashrc | 2 +- setup.sh | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.bashrc b/.bashrc index c3c009a..94e0af8 100644 --- a/.bashrc +++ b/.bashrc @@ -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` diff --git a/setup.sh b/setup.sh index c847378..044d54d 100644 --- a/setup.sh +++ b/setup.sh @@ -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" ~