diff --git a/sh/alias/tar.sh b/sh/alias/tar.sh index bfbf7be..6da0d03 100644 --- a/sh/alias/tar.sh +++ b/sh/alias/tar.sh @@ -1,26 +1,30 @@ -tc() { - tv \ +tc() { sh_a__tar_create "${@}"; } +sh_a__tar_create() { + sh_a__tar_verbose \ --create \ --auto-compress \ --file \ "${@}" } -tl() { - tv \ +tl() { sh_a__tar_list "${@}"; } +sh_a__tar_list() { + sh_a__tar_verbose \ --list \ --file \ "${@}" } -tv() { +tv() { sh_a__tar_verbose "${@}"; } +sh_a__tar_verbose() { tar \ --verbose \ "${@}" } -tx() { - tv \ +tx() { sh_a__tar_xtract "${@}"; } +sh_a__tar_xtract() { + sh_a__tar_verbose \ --extract \ --file \ "${@}"