Adds old zsh functions untouched.

This commit is contained in:
Tom Hicks
2024-09-20 17:25:20 -07:00
parent 13eeb245e3
commit ccd795ee6f
4 changed files with 42 additions and 0 deletions

9
.zsh_functions/compress Executable file
View File

@@ -0,0 +1,9 @@
compress(){
if [ -z "$1" -o "$1" = " " ]; then
echo "Compresses all of <basename>* to ../compresses/<basename>.tar.bz2"
echo "usage: compress <basename>"
return
fi
tar -jcvf ../compressed/$1.tar.bz2 $1* && rm $1*
}