From de045ab70e423933c530512062a96b7cf980abd7 Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Thu, 8 Feb 2018 11:03:30 -0500 Subject: [PATCH] [archive] Fix lzma typo Looks like nobody uses it, as the same typo is present in Oh-My-Zsh and Prezto... :- ) --- modules/archive/functions/unarchive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/archive/functions/unarchive b/modules/archive/functions/unarchive index 000cbdc..a25af9f 100644 --- a/modules/archive/functions/unarchive +++ b/modules/archive/functions/unarchive @@ -23,7 +23,7 @@ case "${archive_name}" in (*.tar.bz2|*.tbz|*.tbz2) tar -xvjf "${archive_name}" ;; (*.tar.xz|*.txz) tar --xz --help &>/dev/null && tar --xz -xvf "${archive_name}" \ || xzcat "${archive_name}" | tar xvf - ;; - (*.tar.zma|*.tlz) tar --lzma --help &>/dev/null && tar --lzma -xvf "${archive_name}" \ + (*.tar.lzma|*.tlz) tar --lzma --help &>/dev/null && tar --lzma -xvf "${archive_name}" \ || lzcat "${archive_name}" | tar xvf - ;; (*.tar) tar xvf "${archive_name}" ;; (*.gz) gunzip "${archive_name}" ;;