Rename extract() -> unpack()

This commit is contained in:
Henrik Lissner 2013-10-17 01:35:25 -04:00
parent b1ec241cac
commit 95c1527968

View file

@ -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 ;;