Made changes to ctar and something else

This commit is contained in:
Austen Adler 2015-07-16 16:51:57 -04:00
parent af67e59f6e
commit b4e4a15bb5
2 changed files with 4 additions and 4 deletions

View File

@ -32,12 +32,11 @@ if len(swap) == 2:
EOF EOF
fi fi
if [ "$1" = "boot" ];then if [ "$1" = "boot" ];then
/usr/bin/xset s noblank
/usr/bin/xset s off
/usr/bin/xset -dpms
/usr/bin/xset -b /usr/bin/xset -b
/usr/bin/xset +fp /usr/share/fonts/X11/misc /usr/bin/xset +fp /usr/share/fonts/X11/misc
/usr/bin/xset +fp /usr/share/fonts/X11/Type1 /usr/bin/xset +fp /usr/share/fonts/X11/Type1
/usr/bin/xset +fp built-ins /usr/bin/xset +fp built-ins
/usr/bin/xset s off
/usr/bin/xset -dpms
/usr/local/bin/i3||/usr/bin/i3 /usr/local/bin/i3||/usr/bin/i3
fi fi

View File

@ -106,7 +106,8 @@ alias -g G='|& ag'
alias -g AW='austenwares.com' alias -g AW='austenwares.com'
export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x' export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x'
function ctar(){ function ctar(){
tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|pv -WcN gzip|gzip|pv -WcN dest tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest
#tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest
} }
function pcat(){ function pcat(){
pygmentize -f terminal "$1" | less -R pygmentize -f terminal "$1" | less -R