diff --git a/.bash_profile b/.bash_profile index ad893fe..86e5c8a 100644 --- a/.bash_profile +++ b/.bash_profile @@ -121,7 +121,7 @@ hash screen >/dev/null 2>&1 && { echo "Screen $STY, window $WINDOW." echo else - _SCREENS="$( screen -ls | grep '[[:alpha:]]' | egrep -v '^([[:digit:]]+|No) Socket(s)?' )" + _SCREENS="$(screen -ls | grep '[[:alpha:]]' | egrep -v '^([[:digit:]]+|No) Socket(s)?')" if [[ -n "$_SCREENS" ]]; then echo "$_SCREENS" echo diff --git a/.bashrc b/.bashrc index 42fd923..4a68598 100644 --- a/.bashrc +++ b/.bashrc @@ -239,9 +239,10 @@ unset _PLATFORM # Common aliases. hash bc >/dev/null 2>&1 && alias bc='bc -lq' -hash curl >/dev/null 2>&1 && alias pastebin="curl -F 'sprunge=<-' http://sprunge.us" +#hash curl >/dev/null 2>&1 && alias pastebin="curl -F 'sprunge=<-' http://sprunge.us" hash diff >/dev/null 2>&1 && alias diff='diff -u' hash egrep >/dev/null 2>&1 && alias egrep='egrep --color=auto' hash fgrep >/dev/null 2>&1 && alias fgrep='fgrep --color=auto' hash grep >/dev/null 2>&1 && alias grep='grep --color=auto' +hash nc >/dev/null 2>&1 && alias pastebin='nc termbin.com 9999' hash screen >/dev/null 2>&1 && alias screen='screen -Ua'