Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
: **shtar()**
Lists the content of a gzipped tar archive in default pager.
: **shtar()**
Lists the content of a gzipped tar archive in default pager.
-: **shzip()**
-Shows the content of a zip archive in default pager.
-
: **simple-extract()**
Tries to uncompress/unpack given files with the appropriate programs. If an URI
starting with https, http or ftp is provided simple-extract tries to download
: **simple-extract()**
Tries to uncompress/unpack given files with the appropriate programs. If an URI
starting with https, http or ftp is provided simple-extract tries to download
emulate -L zsh
gunzip -c $1 | tar -tf - -- | $PAGER
}
emulate -L zsh
gunzip -c $1 | tar -tf - -- | $PAGER
}
-#f5# Show contents of zip file
-shzip() {
- emulate -L zsh
- unzip -l $1 | $PAGER
-}
# Function Usage: doc packagename
#f5# \kbd{cd} to /usr/share/doc/\textit{package}
# Function Usage: doc packagename
#f5# \kbd{cd} to /usr/share/doc/\textit{package}