]>
git.madduck.net Git - etc/zsh.git/commitdiff
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
d4d4aa9 )
# Source repository: http://git.madduck.net/v/etc/zsh.git
#
# Source repository: http://git.madduck.net/v/etc/zsh.git
#
-FPATH="$ZDOTDIR/func:$FPATH"
+fpath=($ZDOTDIR/func $fpath)
#
if [ -n "$ZDOTDIR" ]; then
#
if [ -n "$ZDOTDIR" ]; then
- command rm -f $ZDOTDIR/**/*.zwc(.N) $ZDOTDIR/**/.*.zwc(.N) $ZVAR/**/*.zwc(.N)
- for f ($ZDOTDIR/.*(@) $ZDOTDIR/*(.) $ZDOTDIR/**/*(.) $ZVAR/comp-$HOST) \
+ command rm -f $ZDOTDIR/**/*.zwc(.N) $ZDOTDIR/**/.*.zwc(.N) $ZVARDIR /**/*.zwc(.N)
+ for f ($ZDOTDIR/.*(@) $ZDOTDIR/*(.) $ZDOTDIR/**/*(.) $ZVARDIR /comp-$HOST) \
# Source repository: http://git.madduck.net/v/etc/zsh.git
#
# Source repository: http://git.madduck.net/v/etc/zsh.git
#
-export VAR_RELATIVE=.var
-export VAR=$HOME/$VAR_RELATIVE
-export ZVAR=$VAR/zsh
-export BIN_RELATIVE=.bin
-export BIN=$HOME/$BIN_RELATIVE
+export VARDIR_REL=.var
+export VARDIR=$HOME/$VARDIR_REL
+export ZVARDIR=$VARDIR/zsh
+
+export BINDIR_REL=.bin
+export BINDIR=$HOME/$BINDIR_REL
+
+export TMPDIR_REL=.tmp
+export TMPDIR=$HOME/$TMPDIR_REL
# Source repository: http://git.madduck.net/v/etc/zsh.git
#
# Source repository: http://git.madduck.net/v/etc/zsh.git
#
-zrecompile $ZDOTDIR/** $ZVAR/** | while read pre file post; do
+zrecompile $ZDOTDIR/** $ZVARDIR /** | while read pre file post; do
case "$post" in
succeeded) rm -f "${file%:}".old;;
*) :;;
case "$post" in
succeeded) rm -f "${file%:}".old;;
*) :;;
# initialise the completion system
autoload -U compinit
# initialise the completion system
autoload -U compinit
-compinit -d $VAR/zsh /comp-$HOST
+compinit -d $ZVARDIR /comp-$HOST
# cache results
zstyle ':completion:*' use-cache on
# cache results
zstyle ':completion:*' use-cache on
-zstyle ':completion:*' cache-path $ZVAR/compcache
+zstyle ':completion:*' cache-path $ZVARDIR /compcache
#zstyle ':completion:*' completer _list _expand _complete _ignored _match _correct _approximate _prefix
zstyle ':completion:*' completer _complete _ignored _match _approximate
#zstyle ':completion:*' completer _list _expand _complete _ignored _match _correct _approximate _prefix
zstyle ':completion:*' completer _complete _ignored _match _approximate
# Source repository: http://git.madduck.net/v/etc/zsh.git
#
# Source repository: http://git.madduck.net/v/etc/zsh.git
#
+HISTFILE=$ZVARDIR /history
HISTSIZE=10000
SAVEHIST=$HISTSIZE
LISTMAX=1000
HISTSIZE=10000
SAVEHIST=$HISTSIZE
LISTMAX=1000