dired-guess-shell-alist-default
dired-guess-shell-alist-default is a variable defined in `
dired-x.el
'.
Its value is shown
below.
Documentation:
Default alist used for shell command guessing.
See `dired-guess-shell-alist-user'.
Value:
(("\\.tar\\'"
(if dired-guess-shell-gnutar
(concat dired-guess-shell-gnutar " xvf")
"tar xvf")
(if dired-guess-shell-gnutar
(concat "mkdir "
(file-name-sans-extension file)
"; " dired-guess-shell-gnutar " -C "
(file-name-sans-extension file)
" -xvf")
(concat "mkdir "
(file-name-sans-extension file)
"; tar -C "
(file-name-sans-extension file)
" -xvf"))
(if dired-guess-shell-gnutar
(concat dired-guess-shell-gnutar " tvf")
"tar tvf"))
("\\.tar\\.Z\\'"
(if dired-guess-shell-gnutar
(concat dired-guess-shell-gnutar " zxvf")
(concat "zcat * | tar xvf -"))
(concat "znew"
(if dired-guess-shell-gzip-quiet " -q")
" " dired-guess-shell-znew-switches))
("\\.t\\(ar\\.\\)?gz\\'"
(if dired-guess-shell-gnutar
(concat dired-guess-shell-gnutar " zxvf")
(concat "gunzip -qc * | tar xvf -"))
(if dired-guess-shell-gnutar
(concat "mkdir "
(file-name-sans-extension file)
"; " dired-guess-shell-gnutar " -C "
(file-name-sans-extension file)
" -zxvf")
(concat "mkdir "
(file-name-sans-extension file)
"; gunzip -qc * | tar -C "
(file-name-sans-extension file)
" -xvf -"))
(concat "gunzip"
(if dired-guess-shell-gzip-quiet " -q" ""))
(if dired-guess-shell-gnutar
(concat dired-guess-shell-gnutar " ztvf")
(concat "gunzip -qc * | tar tvf -")))
("\\.t\\(ar\\.bz2\\|bz\\)\\'" "bunzip2 -c * | tar xvf -"
(concat "mkdir "
(file-name-sans-extension file)
"; bunzip2 -c * | tar -C "
(file-name-sans-extension file)
" -xvf -")
"bunzip2")
("\\.t\\(ar\\.\\)?xz\\'" "unxz -c * | tar xvf -"
(concat "mkdir "
(file-name-sans-extension file)
"; unxz -c * | tar -C "
(file-name-sans-extension file)
" -xvf -")
"unxz")
("\\.shar\\.Z\\'" "zcat * | unshar")
("\\.shar\\.g?z\\'" "gunzip -qc * | unshar")
("\\.e?ps\\'" "ghostview" "xloadimage" "lpr")
("\\.e?ps\\.g?z\\'" "gunzip -qc * | ghostview -"
(concat "gunzip"
(if dired-guess-shell-gzip-quiet " -q")))
("\\.e?ps\\.Z\\'" "zcat * | ghostview -"
(concat "znew"
(if dired-guess-shell-gzip-quiet " -q")
" " dired-guess-shell-znew-switches))
("\\.patch\\'" "cat * | patch")
("\\.patch\\.g?z\\'" "gunzip -qc * | patch"
(concat "gunzip"
(if dired-guess-shell-gzip-quiet " -q")))
("\\.patch\\.Z\\'" "zcat * | patch"
(concat "znew"
(if dired-guess-shell-gzip-quiet " -q")
" " dired-guess-shell-znew-switches))
("\\.\\(?:[0-9]\\|man\\)\\'"
(let
((loc
(Man-support-local-filenames)))
(cond
((eq loc 'man-db)
"man -l")
((eq loc 'man)
"man ./")
(t "cat * | tbl | nroff -man -h | col -b"))))
("\\.\\(?:[0-9]\\|man\\)\\.g?z\\'"
(let
((loc
(Man-support-local-filenames)))
(cond
((eq loc 'man-db)
"man -l")
((eq loc 'man)
"man ./")
(t "gunzip -qc * | tbl | nroff -man -h | col -b")))
(concat "gunzip"
(if dired-guess-shell-gzip-quiet " -q")))
("\\.[0-9]\\.Z\\'"
(let
((loc
(Man-support-local-filenames)))
(cond
((eq loc 'man-db)
"man -l")
((eq loc 'man)
"man ./")
(t "zcat * | tbl | nroff -man -h | col -b")))
(concat "znew"
(if dired-guess-shell-gzip-quiet " -q")
" " dired-guess-shell-znew-switches))
("\\.pod\\'" "perldoc" "pod2man * | nroff -man")
("\\.dvi\\'" "xdvi" "dvips")
("\\.au\\'" "play")
("\\.mpe?g\\'\\|\\.avi\\'" "xine -p")
("\\.ogg\\'" "ogg123")
("\\.mp3\\'" "mpg123")
("\\.wav\\'" "play")
("\\.uu\\'" "uudecode")
("\\.hqx\\'" "mcvert")
("\\.sh\\'" "sh")
("\\.xbm\\'" "bitmap")
("\\.gp\\'" "gnuplot")
("\\.p[bgpn]m\\'" "xloadimage")
("\\.gif\\'" "xloadimage")
("\\.tif\\'" "xloadimage")
("\\.png\\'" "display")
("\\.jpe?g\\'" "xloadimage")
("\\.fig\\'" "xfig")
("\\.out\\'" "xgraph")
("\\.tex\\'" "latex" "tex")
("\\.texi\\(nfo\\)?\\'" "makeinfo" "texi2dvi")
("\\.pdf\\'" "xpdf")
("\\.doc\\'" "antiword" "strings")
("\\.rpm\\'" "rpm -qilp" "rpm -ivh")
("\\.dia\\'" "dia")
("\\.mgp\\'" "mgp")
("\\.zip\\'" "unzip" "unzip -l"
(concat "unzip"
(if dired-guess-shell-gzip-quiet " -q")
" -d "
(file-name-sans-extension file)))
("\\.zoo\\'" "zoo x//")
("\\.lzh\\'" "lharc x")
("\\.arc\\'" "arc x")
("\\.shar\\'" "unshar")
("\\.rar\\'" "unrar x")
("\\.7z\\'" "7z x")
("\\.g?z\\'"
(concat "gunzip"
(if dired-guess-shell-gzip-quiet " -q")))
("\\.dz\\'" "dictunzip")
("\\.bz2\\'" "bunzip2")
("\\.xz\\'" "unxz")
("\\.Z\\'" "uncompress"
(concat "znew"
(if dired-guess-shell-gzip-quiet " -q")
" " dired-guess-shell-znew-switches))
("\\.sign?\\'" "gpg --verify"))