~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/profile: Install some path hacks by default at login time.
[profile]
/
dot
/
zshrc
diff --git
a/dot/zshrc
b/dot/zshrc
index
e332557
..
7993025
100644
(file)
--- a/
dot/zshrc
+++ b/
dot/zshrc
@@
-64,6
+64,12
@@
bindkey "\e^l" up-case-word-shell
bindkey "\ec" capitalize-word-bash
bindkey "\e^c" capitalize-word-shell
bindkey "\ec" capitalize-word-bash
bindkey "\e^c" capitalize-word-shell
+bindkey "\ep" history-beginning-search-backward
+bindkey "\en" history-beginning-search-forward
+
+setopt interactive_comments
+bindkey "\e#" pound-insert
+
__mdw_delete_horizontal_space () {
LBUFFER=${LBUFFER%%[[:space:]]##}
RBUFFER=${RBUFFER##[[:space:]]##}
__mdw_delete_horizontal_space () {
LBUFFER=${LBUFFER%%[[:space:]]##}
RBUFFER=${RBUFFER##[[:space:]]##}
@@
-108,18
+114,19
@@
HISTFILE=~/.zsh-history
HISTSIZE=1000
SAVEHIST=1000
HISTSIZE=1000
SAVEHIST=1000
-setopt appendhistory
unsetopt auto_cd
unsetopt auto_menu
unsetopt bash_auto_list
unsetopt beep
setopt extendedglob
unsetopt auto_cd
unsetopt auto_menu
unsetopt bash_auto_list
unsetopt beep
setopt extendedglob
+setopt hist_ignore_all_dups
setopt ksh_glob
setopt list_ambiguous
setopt list_packed
unsetopt nomatch
unsetopt menu_complete
setopt notify
setopt ksh_glob
setopt list_ambiguous
setopt list_packed
unsetopt nomatch
unsetopt menu_complete
setopt notify
+setopt share_history
zshaddhistory () {
case "$1" in
zshaddhistory () {
case "$1" in