From 88ee3659f6ec1a481d64fd1dd6a58244904c73ec Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Thu, 3 Mar 2016 20:19:18 -0500 Subject: [PATCH] Added bells to emerge commands, modified i3 colors --- i3/config | 3 +-- shells/zshrc | 9 +++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/i3/config b/i3/config index fbca96a..87511e3 100644 --- a/i3/config +++ b/i3/config @@ -29,8 +29,7 @@ set $gn #88b090 set $rd #e89393 ## set some nice colors border background text -#client.focused #262626 #262626 $tx -client.focused #5a5a5a #5a5a5a #000000 +client.focused #2f2f2f #2f2f2f #ffffff client.unfocused $bg $bg $ia client.focused_inactive $bg $bg $ac client.urgent $rd $rd $tx diff --git a/shells/zshrc b/shells/zshrc index c73f44a..9d131ea 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -110,7 +110,8 @@ if test -f /etc/gentoo-release; then # Gentoo ins(){ echo "args: $*" - sudo zsh -c "emerge --autounmask-write -av $*" + sudo zsh -c "emerge --autounmask-write -Aav $*" + echo "\a" } update(){ # If this is a server computer @@ -121,8 +122,9 @@ if test -f /etc/gentoo-release; then cd /usr/portage >/dev/null sudo zsh -c "git up&&echo Done pulling&&eix-update&&echo Done with eix" cd ->/dev/null + echo '\a' } - alias upgrade='sudo emerge --update --newuse --with-bdeps=y --deep --verbose -t -a --keep-going=y --verbose-conflicts @world' + alias upgrade='sudo emerge --update --newuse --with-bdeps=y --deep --verbose -t -a --keep-going=y --verbose-conflicts -A @world;echo \\a' elif test -f /etc/lsb-release; then # Ubuntu alias install='sudo apt-get --show-progress install' @@ -173,6 +175,9 @@ alias -g L="2>&1|less" #alias -g L="2>&1|vimpager" alias -g G='|& ag' export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x' +apush(){ + adb push $* & pv -d $! +} ctar(){ tar -cf - $@|pv -WcN tar|gzip|pv -WcN gzip #tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest