aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/functions.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh
index e00cc6c..08ede74 100644
--- a/.zsh.after/functions.zsh
+++ b/.zsh.after/functions.zsh
@@ -167,6 +167,9 @@ ex() {
*.tgz)
tar xvzf $1
;;
+ *.whl)
+ unzip "$1"
+ ;;
*.xz)
tar xvJf $1
;;
@@ -230,6 +233,9 @@ lstar() {
*.tgz)
tar -tvf "$1" --force-local
;;
+ *.whl)
+ unzip -l "$1"
+ ;;
*.xz)
tar -Jtvf "$1" --force-local
;;