Port to MacOS
This commit is contained in:
parent
60c605dbcd
commit
eb58ee204d
2
.bashrc
2
.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`
|
||||
|
|
12
setup.sh
12
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" ~
|
||||
|
|
Loading…
Reference in New Issue