ctar fixes
This commit is contained in:
parent
2599e00c87
commit
da69b5a933
@ -123,7 +123,7 @@ 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 -cN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|pv -cN gzip|gzip|pv -cN dest
|
tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|pv -WcN gzip|gzip|pv -WcN dest
|
||||||
}
|
}
|
||||||
function pcat(){
|
function pcat(){
|
||||||
pygmentize -f terminal "$1" | less -R
|
pygmentize -f terminal "$1" | less -R
|
||||||
|
Loading…
x
Reference in New Issue
Block a user