From 95c1527968f5070bd192b88dc0d379d5747a3aa8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 17 Oct 2013 01:35:25 -0400 Subject: [PATCH] Rename extract() -> unpack() --- zsh/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/functions b/zsh/functions index e9da334c..81e210bb 100644 --- a/zsh/functions +++ b/zsh/functions @@ -5,8 +5,8 @@ function quick-look { } # Extract a compressed file with the appropriate command -function extract { - if [ -f $1 ] ; then +function unpack { + if [ -f "$1" ]; then case $1 in *.tar.bz2) tar xjf $1 ;; *.tar.gz) tar xzf $1 ;;