]>
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 (from parent 1:
99f2240 )
!/.zsh/aliases/locate
!/.zsh/aliases/ls
!/.zsh/aliases/mcd
!/.zsh/aliases/locate
!/.zsh/aliases/ls
!/.zsh/aliases/mcd
!/.zsh/aliases/mps
!/.zsh/aliases/.noglob
!/.zsh/aliases/of
!/.zsh/aliases/mps
!/.zsh/aliases/.noglob
!/.zsh/aliases/of
--- /dev/null
+.noglob
\ No newline at end of file
# but $PS1 then contains these as default values for each psvar element, i.e.
# we can override psvar[1] later, but we don't have to
psvar[1]='%(2L.+.)'
# but $PS1 then contains these as default values for each psvar element, i.e.
# we can override psvar[1] later, but we don't have to
psvar[1]='%(2L.+.)'
-psvar[2]="$DEBIAN_CHROOT "
+psvar[2]="$SUBSHELL_PREFIX "
zstyle :madduck:prompt:default psvar2-style-pre '%S'
zstyle :madduck:prompt:default psvar2-style-post '%s@'
psvar[3]='%m'
zstyle :madduck:prompt:default psvar2-style-pre '%S'
zstyle :madduck:prompt:default psvar2-style-post '%s@'
psvar[3]='%m'
cdt() {
emulate -L zsh
REPLY=$(mktemp -td ${1:-cdt}.XXXXXX)
cdt() {
emulate -L zsh
REPLY=$(mktemp -td ${1:-cdt}.XXXXXX)
rm -f ${TMPDIR:-/tmp}/cdt.latest
rm -f ${TMPDIR:-/tmp}/cdt.latest
- ln -s $REPLY ${TMPDIR:-/tmp}/cdt.latest
+ ln -s "$REPLY" ${TMPDIR:-/tmp}/cdt.latest
+ echo "$REPLY"
esac
done
REPLY=$(mktemp -t ${prefix:-vit}-XXXXXX.txt)
esac
done
REPLY=$(mktemp -t ${prefix:-vit}-XXXXXX.txt)
- [ -n "$stdin" ] && cat >| $REPLY
- sensible-editor +start $REPLY </dev/tty >/dev/tty
- ln -sf $REPLY ${TMPDIR:-/tmp}/vit.latest
+ [ -n "$stdin" ] && cat >| "$REPLY"
+ sensible-editor +start "$REPLY" </dev/tty >/dev/tty
+ ln -sf "$REPLY" ${TMPDIR:-/tmp}/vit.latest