1
0
Fork 0

Merge remote-tracking branch 'upstream/master'

pull/666/head
Chauncey Garrett 12 years ago
commit eeee36ce74

@ -8,7 +8,7 @@ Load modules in *zpreztorc*. The order matters.
Archive
-------
Provides functions to extract and list popular archive formats.
Provides functions to list and extract archives.
Command-Not-Found
-----------------

@ -1,13 +1,13 @@
Archive
=======
Provides functions to extract and list popular archive formats.
Provides functions to list and extract archives.
Functions
---------
- `extract` extracts the contents of one or more archives.
- `ls-archive` lists the contents of one or more archives.
- `lsarchive` lists the contents of one or more archives.
- `unarchive` extracts the contents of one or more archives.
Supported Formats
-----------------

@ -1,8 +1,8 @@
#compdef ls-archive
#compdef lsarchive
#autoload
#
# Completes ls-archive.
# Completes lsarchive.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>

@ -1,8 +1,8 @@
#compdef extract
#compdef unarchive
#autoload
#
# Completes extract.
# Completes unarchive.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>

@ -1,5 +1,5 @@
#
# Lists the contents of popular archive formats.
# Lists the contents of archives.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>

@ -1,5 +1,5 @@
#
# Extracts the contents of popular archive formats.
# Extracts the contents of archives.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>

@ -6,7 +6,7 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
local tmp="${TMPDIR:-/tmp}/pacman-disowned-$UID-$$"
local tmp="$TMPDIR/pacman-disowned-$UID-$$"
local db="$tmp/db"
local fs="$tmp/fs"

@ -23,6 +23,6 @@ Authors
- [Sorin Ionescu](https://github.com/sorin-ionescu)
[1]: http://rsync.samba.org
[2]: http://www.bombich.com/rsync.html
[2]: http://help.bombich.com/kb/overview/credits#opensource
[3]: https://github.com/sorin-ionescu/prezto/issues

@ -17,7 +17,7 @@ fi
_rsync_cmd='rsync --verbose --progress --human-readable --compress --archive --hard-links --one-file-system'
# Mac OS X and HFS+ Enhancements
# http://www.bombich.com/rsync.html
# http://help.bombich.com/kb/overview/credits#opensource
if [[ "$OSTYPE" == darwin* ]] && grep -q 'file-flags' <(rsync --help 2>&1); then
_rsync_cmd="${_rsync_cmd} --crtimes --acls --xattrs --fileflags --protect-decmpfs --force-change"
fi

@ -28,6 +28,8 @@ else
if [[ "$OSTYPE" == darwin* ]]; then
export GEM_HOME="$HOME/Library/Ruby/Gems/1.8"
path=("$GEM_HOME/bin" $path)
else
path=($HOME/.gem/ruby/*/bin(N) $path)
fi
fi
@ -58,4 +60,3 @@ if (( $+commands[bundle] )); then
&& print vendor/bundle >>! .gitignore \
&& print vendor/cache >>! .gitignore'
fi

@ -64,10 +64,13 @@ fi
# Temporary Files
#
if [[ -d "$TMPDIR" ]]; then
export TMPPREFIX="${TMPDIR%/}/zsh"
if [[ ! -d "$TMPPREFIX" ]]; then
if [[ ! -d "$TMPDIR" ]]; then
export TMPDIR="/tmp/$USER"
mkdir -p -m 700 "$TMPDIR"
fi
TMPPREFIX="${TMPDIR%/}/zsh"
if [[ ! -d "$TMPPREFIX" ]]; then
mkdir -p "$TMPPREFIX"
fi
fi

Loading…
Cancel
Save