From: Jer Noble Date: Thu, 26 Apr 2012 17:16:24 +0000 (-0700) Subject: Fixed _ssh_screen alias; made sourcing of webkitenv dependent on file's existence... X-Git-Url: http://id.pley.net/dotfiles.git/commitdiff_plain/3eee664888d2ff50f9f5d61ecde16ba5eecdf82a?ds=sidebyside Fixed _ssh_screen alias; made sourcing of webkitenv dependent on file's existence; removed webkitenv from repository. --- diff --git a/.aliases b/.aliases index 77c68f0..12b6b6d 100755 --- a/.aliases +++ b/.aliases @@ -93,6 +93,6 @@ function _ssh_screen () { ssh -t $HOST screen $DISCONNECT $RECONNECT } -for host in ssh_hosts=$( grep '^Host[ ][^*]' ~/.ssh/config | cut -c 6- ); do +for host in $( grep '^Host[ ][^*]' ~/.ssh/config | cut -c 6- ); do alias "$host"="_ssh_screen $host $@" done diff --git a/.webkit_login b/.webkit_login index 7d1e52f..44454bd 100644 --- a/.webkit_login +++ b/.webkit_login @@ -1,4 +1,6 @@ #!/bin/bash export WEBKIT_DIR=~/Projects/WebKit.git -source ${WEBKIT_DIR}/webkitenv \ No newline at end of file +if [[ -f ${WEBKIT_DIR}/webkitenv ]]; then + source ${WEBKIT_DIR}/webkitenv +fi diff --git a/webkitenv b/webkitenv deleted file mode 100644 index da43910..0000000 --- a/webkitenv +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -export EMAIL_ADDRESS=jer.noble@apple.com -export WEBKIT_DIR=~/Projects/WebKit.git -export PATH=$PATH:$WEBKIT_DIR/OpenSource/Tools:$WEBKIT_DIR/OpenSource/Tools/Scripts:$WEBKIT_DIR/Internal/Tools/Scripts -export PS1='$( if [ $? = 0 ]; then echo \[\e[32m\]:-\)\ ; else echo \[\e[31m\]:-\(\ ;fi;)\[\e[0m\]$(__git_ps1 "(%s) ")\u@\h:$(short_pwd)> ' - -alias opensource="cd $WEBKIT_DIR/OpenSource" -alias internal="cd $WEBKIT_DIR/Internal" - -source ~/bin/git-completion.bash