Skip to content

Commit

Permalink
dont use readlink -f, fix .gitconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
wuputah committed Jul 11, 2012
1 parent 61739f2 commit afcf99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion home/.zshrc
@@ -1,6 +1,6 @@
# vim:ft=sh:

DOTFILES=$(dirname $(dirname $(readlink -f $HOME/.zshrc)))
DOTFILES=$(dirname $(dirname $(readlink $HOME/.zshrc)))

source $DOTFILES/sh/env
source $DOTFILES/zsh/config
Expand Down
2 changes: 1 addition & 1 deletion setup
Expand Up @@ -30,7 +30,7 @@ ln -nfs $path/ssh/config $HOME/.ssh/config
ln -nfs $HOME/.bashrc $HOME/.bash_profile

# undo symlinking of a few special cases; copy files instead
for f in $HOME/.gitignore $HOME/.gemrc; do
for f in $HOME/.gitconfig $HOME/.gemrc; do
[ -h $f ] && rm $f && cp $path/home/$(basename $f) $HOME/$(basename $f)
done

Expand Down

0 comments on commit afcf99a

Please sign in to comment.