From 196aac9dc3611066b5b7f91e58a5e6a13e68c098 Mon Sep 17 00:00:00 2001 From: Austen Date: Wed, 16 Jul 2014 15:07:09 -0400 Subject: [PATCH 1/2] Added update.sh and replaced from :w to :up --- update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 update.sh diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..4d4de6d --- /dev/null +++ b/update.sh @@ -0,0 +1,9 @@ +#!/bin/sh +for DIR in *; do + #[ -d "$DIR" ] && "cd "$DIR" ; pwd" + if [ -d "$DIR" ] ; then + cd "$DIR" + git up + cd .. + fi +done From 900dc3bbac63d41e2204b32692505eab01e75161 Mon Sep 17 00:00:00 2001 From: Austen Date: Tue, 22 Jul 2014 16:17:35 -0400 Subject: [PATCH 2/2] FIXED COLORINGgit a bashrc git a bashrc --- bashrc | 72 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 34 deletions(-) diff --git a/bashrc b/bashrc index 8f26ba2..918bbf4 100644 --- a/bashrc +++ b/bashrc @@ -113,7 +113,11 @@ function ovim(){ vim +"SessionOpen $@"; } function ogvim(){ gvim +"SessionOpen $@"; } function tsh(){ ssh $* -X - echo -e "\n\n\n\n\n\n\nSESSION CLOSED\n\n\n\n\n\n\n" + if which ponysay >/dev/null; then + ponysay "Connection closed!" + else + echo "\n\n\n\n\n\n\n\n\n\nSESSION CLOSED\n\n\n\n\n\n\n\n\n\n" + fi } @@ -178,43 +182,43 @@ export -f initify #Color definitions -txtblk='\e[0;30m' # Black - Regular -txtred='\e[0;31m' # Red -txtgrn='\e[0;32m' # Green -txtylw='\e[0;33m' # Yellow -txtblu='\e[0;34m' # Blue -txtpur='\e[0;35m' # Purple -txtcyn='\e[0;36m' # Cyan -txtwht='\e[0;37m' # White +txtblk='\[\e[0;30m\]' # Black - Regular +txtred='\[\e[0;31m\]' # Red +txtgrn='\[\e[0;32m\]' # Green +txtylw='\[\e[0;33m\]' # Yellow +txtblu='\[\e[0;34m\]' # Blue +txtpur='\[\e[0;35m\]' # Purple +txtcyn='\[\e[0;36m\]' # Cyan +txtwht='\[\e[0;37m\]' # White -bldblk='\e[1;30m' # Black - Bold -bldred='\e[1;31m' # Red -bldgrn='\e[1;32m' # Green -bldylw='\e[1;33m' # Yellow -bldblu='\e[1;34m' # Blue -bldpur='\e[1;35m' # Purple -bldcyn='\e[1;36m' # Cyan -bldwht='\e[1;37m' # White +bldblk='\[\e[1;30m\]' # Black - Bold +bldred='\[\e[1;31m\]' # Red +bldgrn='\[\e[1;32m\]' # Green +bldylw='\[\e[1;33m\]' # Yellow +bldblu='\[\e[1;34m\]' # Blue +bldpur='\[\e[1;35m\]' # Purple +bldcyn='\[\e[1;36m\]' # Cyan +bldwht='\[\e[1;37m\]' # White -unkblk='\e[4;30m' # Black - Underline -undred='\e[4;31m' # Red -undgrn='\e[4;32m' # Green -undylw='\e[4;33m' # Yellow -undblu='\e[4;34m' # Blue -undpur='\e[4;35m' # Purple -undcyn='\e[4;36m' # Cyan -undwht='\e[4;37m' # White +unkblk='\[\e[4;30m\]' # Black - Underline +undred='\[\e[4;31m\]' # Red +undgrn='\[\e[4;32m\]' # Green +undylw='\[\e[4;33m\]' # Yellow +undblu='\[\e[4;34m\]' # Blue +undpur='\[\e[4;35m\]' # Purple +undcyn='\[\e[4;36m\]' # Cyan +undwht='\[\e[4;37m\]' # White -bakblk='\e[40m' # Black - Background -bakred='\e[41m' # Red -badgrn='\e[42m' # Green -bakylw='\e[43m' # Yellow -bakblu='\e[44m' # Blue -bakpur='\e[45m' # Purple -bakcyn='\e[46m' # Cyan -bakwht='\e[47m' # White +bakblk='\[\e[40m\]' # Black - Background +bakred='\[\e[41m\]' # Red +badgrn='\[\e[42m\]' # Green +bakylw='\[\e[43m\]' # Yellow +bakblu='\[\e[44m\]' # Blue +bakpur='\[\e[45m\]' # Purple +bakcyn='\[\e[46m\]' # Cyan +bakwht='\[\e[47m\]' # White -txtrst='\e[0m' # Text Reset +txtrst='\[\e[0m\]' # Text Reset #History control if [ "$BASH" ]; then