.bin
.config
.local
.oh-my-zsh
lib
plugins
adb
ant
apache2-macports
arcanist
archlinux
asdf
autoenv
autojump
autopep8
aws
battery
bbedit
bgnotify
boot2docker
bower
branch
brew
bundler
bwana
cabal
cake
cakephp3
capistrano
cargo
cask
catimg
celery
chruby
chucknorris
cloudapp
codeclimate
coffee
colemak
colored-man-pages
colorize
command-not-found
common-aliases
compleat
composer
copybuffer
copydir
copyfile
cp
cpanm
debian
dircycle
dirhistory
dirpersist
django
dnf
docker
docker-compose
dotenv
droplr
emacs
ember-cli
emoji
emoji-clock
emotty
encode64
extract
README.md
_extract
extract.plugin.zsh
fabric
fancy-ctrl-z
fasd
fastfile
fbterm
fedora
firewalld
forklift
fossil
frontend-search
gas
gb
geeknote
gem
git
git-extras
git-flow
git-flow-avh
git-hubflow
git-prompt
git-remote-branch
gitfast
github
gitignore
glassfish
globalias
gnu-utils
go
golang
gpg-agent
gradle
grails
grunt
gulp
heroku
history
history-substring-search
httpie
iwhois
jake-node
jhbuild
jira
jruby
jsontools
jump
kate
kitchen
knife
knife_ssh
kubectl
laravel
laravel4
laravel5
last-working-dir
lein
lighthouse
lol
macports
man
marked2
mercurial
meteor
mix
mix-fast
mosh
mvn
mysql-macports
n98-magerun
nanoc
ng
nmap
node
nomad
npm
nvm
nyan
osx
pass
paver
pep8
per-directory-history
perl
perms
phing
pip
pj
pod
postgres
pow
powder
powify
profiles
pyenv
pylint
python
rails
rake
rake-fast
rand-quote
rbenv
rbfu
react-native
rebar
redis-cli
repo
rsync
ruby
rust
rvm
safe-paste
sbt
scala
scd
screen
scw
sfffe
shrink-path
singlechar
spring
sprunge
ssh-agent
stack
sublime
sudo
supervisor
suse
svn
svn-fast-info
swiftpm
symfony
symfony2
systemadmin
systemd
taskwarrior
terminalapp
terminitor
terraform
textastic
textmate
thefuck
themes
thor
tig
tmux
tmux-cssh
tmuxinator
torrent
tugboat
ubuntu
urltools
vagrant
vault
vi-mode
vim-interaction
virtualenv
virtualenvwrapper
vundle
wakeonlan
wd
web-search
wp-cli
xcode
yarn
yii
yii2
yum
z
zeus
zsh-navigation-tools
zsh_reload
templates
themes
tools
CONTRIBUTING.md
LICENSE.txt
README.md
oh-my-zsh.sh
.themes
.Xdefaults
.Xresources
.bash_profile
.bashrc
.profile
.xinitrc
.xsessionrc
.zshrc
README.md
extract plugin
This plugin defines a function called extract
that extracts the archive file
you pass it, and it supports a wide variety of archive filetypes.
This way you don't have to know what specific command extracts a file, you just
do extract <filename>
and the function takes care of the rest.
To use it, add extract
to the plugins array in your zshrc file:
plugins=(... extract)
Supported file extensions
Extension | Description |
---|---|
7z |
7zip file |
Z |
Z archive (LZW) |
apk |
Android app file |
bz2 |
Bzip2 file |
deb |
Debian package |
gz |
Gzip file |
ipsw |
iOS firmware file |
jar |
Java Archive |
lzma |
LZMA archive |
rar |
WinRAR archive |
sublime-package |
Sublime Text package |
tar |
Tarball |
tar.bz2 |
Tarball with bzip2 compression |
tar.gz |
Tarball with gzip compression |
tar.xz |
Tarball with lzma2 compression |
tar.zma |
Tarball with lzma compression |
tbz |
Tarball with bzip compression |
tbz2 |
Tarball with bzip2 compression |
tgz |
Tarball with gzip compression |
tlz |
Tarball with lzma compression |
txz |
Tarball with lzma2 compression |
war |
Web Application archive (Java-based) |
xpi |
Mozilla XPI module file |
xz |
LZMA2 archive |
zip |
Zip archive |
See list of archive formats for more information regarding archive formats.