~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/emacs: Only load `ido-ubiquitous' if we really need it.
[profile]
/
dot
/
zshrc
diff --git
a/dot/zshrc
b/dot/zshrc
index
7839277
..
8cedc67
100644
(file)
--- a/
dot/zshrc
+++ b/
dot/zshrc
@@
-12,7
+12,7
@@
case ${INSIDE_EMACS+t},$TERM in t,dumb) unsetopt zle ;; esac
__mdw_set_prompt_hacks () {
case $TERM in
__mdw_set_prompt_hacks () {
case $TERM in
- linux*|screen*|xterm*|vt100*|eterm*)
+ linux*|screen*|xterm*|
putty*|
vt100*|eterm*)
bold=%B unbold=%b
gitcolour=%F{cyan} rccolour=%F{red} uncolour=%f
;;
bold=%B unbold=%b
gitcolour=%F{cyan} rccolour=%F{red} uncolour=%f
;;
@@
-83,6
+83,12
@@
bindkey -s "\eOp" "0" "\eOn" "."; bindkey "\eOM" accept-line
bindkey "\ep" history-beginning-search-backward
bindkey "\en" history-beginning-search-forward
bindkey "\ep" history-beginning-search-backward
bindkey "\en" history-beginning-search-forward
+bindkey "\e," _history-complete-older
+
+for i in '!' '$' '@' '/' '~'; do
+ bindkey "\e$i" _bash_complete-word
+ bindkey "^X$i" _bash_list-choices
+done
setopt interactive_comments
bindkey "\e#" pound-insert
setopt interactive_comments
bindkey "\e#" pound-insert
@@
-151,6
+157,8
@@
setopt notify
setopt rc_expand_param
setopt share_history
setopt rc_expand_param
setopt share_history
+hash -d t=$TMPDIR
+
###--------------------------------------------------------------------------
### Finishing touches.
###--------------------------------------------------------------------------
### Finishing touches.