Navigation Menu

Skip to content

Commit

Permalink
improve symlinking to not be directory dependent. See http://stackove…
Browse files Browse the repository at this point in the history
  • Loading branch information
smtlaissezfaire committed Aug 8, 2011
1 parent fe7a1cb commit b49d567
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/symlink
@@ -1,4 +1,7 @@
#!/usr/bin/env bash

ln -sv $(echo `cd ..; pwd`)/.vimrc $HOME
ln -sv $(echo `cd ..; pwd`)/.vim $HOME
project_path="$( cd "$( dirname "$0" )" && cd .. && pwd )"
# echo $project_path

ln -fsv $project_path/.vimrc $HOME
ln -fsv $project_path/.vim $HOME

0 comments on commit b49d567

Please sign in to comment.