-
Bash-script referring to location of itself
user@host:~/dotfiles$ cat create_bash_links.sh #!/bin/bash # # Creates symlinks in ~ to the bash files in this folder # SCRIPTPATH=”$( cd “$(dirname “$0″)” ; pwd -P )” ln -svi ${SCRIPTPATH}/bashrc ~/.bashrc ln -svi ${SCRIPTPATH}/bash_profile ~/.bash_profile ln -svi ${SCRIPTPATH}/bash_aliases ~/.bash_aliases
-
Using Xcode’s FileMerge as diff tool for Subversion
Install Xcode (needed to get FileMerge, which is used by fmdiff) Install http://www.defraine.net/~brunod/fmdiff/ alias svndiff=”svn diff –diff-cmd=fmdiff”