Merge branch 'master' of 98.26.78.121:stonewareslord/Sync

This commit is contained in:
Austen Adler 2014-07-23 19:20:15 -04:00
commit dd9b1d0ded
2 changed files with 47 additions and 34 deletions

72
bashrc
View File

@ -113,7 +113,11 @@ function ovim(){ vim +"SessionOpen $@"; }
function ogvim(){ gvim +"SessionOpen $@"; } function ogvim(){ gvim +"SessionOpen $@"; }
function tsh(){ function tsh(){
ssh $* -X 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
} }
@ -179,43 +183,43 @@ export -f initify
#Color definitions #Color definitions
txtblk='\e[0;30m' # Black - Regular txtblk='\[\e[0;30m\]' # Black - Regular
txtred='\e[0;31m' # Red txtred='\[\e[0;31m\]' # Red
txtgrn='\e[0;32m' # Green txtgrn='\[\e[0;32m\]' # Green
txtylw='\e[0;33m' # Yellow txtylw='\[\e[0;33m\]' # Yellow
txtblu='\e[0;34m' # Blue txtblu='\[\e[0;34m\]' # Blue
txtpur='\e[0;35m' # Purple txtpur='\[\e[0;35m\]' # Purple
txtcyn='\e[0;36m' # Cyan txtcyn='\[\e[0;36m\]' # Cyan
txtwht='\e[0;37m' # White txtwht='\[\e[0;37m\]' # White
bldblk='\e[1;30m' # Black - Bold bldblk='\[\e[1;30m\]' # Black - Bold
bldred='\e[1;31m' # Red bldred='\[\e[1;31m\]' # Red
bldgrn='\e[1;32m' # Green bldgrn='\[\e[1;32m\]' # Green
bldylw='\e[1;33m' # Yellow bldylw='\[\e[1;33m\]' # Yellow
bldblu='\e[1;34m' # Blue bldblu='\[\e[1;34m\]' # Blue
bldpur='\e[1;35m' # Purple bldpur='\[\e[1;35m\]' # Purple
bldcyn='\e[1;36m' # Cyan bldcyn='\[\e[1;36m\]' # Cyan
bldwht='\e[1;37m' # White bldwht='\[\e[1;37m\]' # White
unkblk='\e[4;30m' # Black - Underline unkblk='\[\e[4;30m\]' # Black - Underline
undred='\e[4;31m' # Red undred='\[\e[4;31m\]' # Red
undgrn='\e[4;32m' # Green undgrn='\[\e[4;32m\]' # Green
undylw='\e[4;33m' # Yellow undylw='\[\e[4;33m\]' # Yellow
undblu='\e[4;34m' # Blue undblu='\[\e[4;34m\]' # Blue
undpur='\e[4;35m' # Purple undpur='\[\e[4;35m\]' # Purple
undcyn='\e[4;36m' # Cyan undcyn='\[\e[4;36m\]' # Cyan
undwht='\e[4;37m' # White undwht='\[\e[4;37m\]' # White
bakblk='\e[40m' # Black - Background bakblk='\[\e[40m\]' # Black - Background
bakred='\e[41m' # Red bakred='\[\e[41m\]' # Red
badgrn='\e[42m' # Green badgrn='\[\e[42m\]' # Green
bakylw='\e[43m' # Yellow bakylw='\[\e[43m\]' # Yellow
bakblu='\e[44m' # Blue bakblu='\[\e[44m\]' # Blue
bakpur='\e[45m' # Purple bakpur='\[\e[45m\]' # Purple
bakcyn='\e[46m' # Cyan bakcyn='\[\e[46m\]' # Cyan
bakwht='\e[47m' # White bakwht='\[\e[47m\]' # White
txtrst='\e[0m' # Text Reset txtrst='\[\e[0m\]' # Text Reset
#History control #History control
if [ "$BASH" ]; then if [ "$BASH" ]; then

9
update.sh Executable file
View File

@ -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