mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
add support for 7z to extract
This commit is contained in:
parent
13ccbf19af
commit
315aa803f9
2 changed files with 6 additions and 0 deletions
|
@ -61,6 +61,9 @@ extract ()
|
||||||
*.lzma)
|
*.lzma)
|
||||||
lzma -dc "${1}" > `basename "${1%.*}"`
|
lzma -dc "${1}" > `basename "${1%.*}"`
|
||||||
;;
|
;;
|
||||||
|
*.7z)
|
||||||
|
7zr x "${1}"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unable to extract '"$1"'"
|
echo "Unable to extract '"$1"'"
|
||||||
return 1
|
return 1
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
# completion menu
|
# completion menu
|
||||||
zstyle ':completion:*' menu select=1
|
zstyle ':completion:*' menu select=1
|
||||||
|
|
||||||
|
# change the order up
|
||||||
|
zstyle ':completion:*:(cd|mv|cp):*' tag-order local-directories directory-stack named-directories path-directories
|
||||||
|
|
||||||
# neat-o new features
|
# neat-o new features
|
||||||
zstyle ':completion:*' completer _expand _complete _prefix _correct _match _approximate
|
zstyle ':completion:*' completer _expand _complete _prefix _correct _match _approximate
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue