Rollback history search
87f8d15792285232341dc7a5c04ddf51063ee913
1 parent
cb6d7a13
.fzy.zsh
+1 -1
| 49 | 49 | zle redisplay |
|
| 50 | 50 | typeset -f zle-line-init >/dev/null && zle zle-line-init |
|
| 51 | 51 | return $ret |
|
| 52 | 52 | } |
|
| 53 | 53 | zle -N fzy-history-widget |
|
| 54 | - | bindkey '^R' fzy-history-widget |
|
| 54 | + | bindkey '^H' fzy-history-widget |
.zshrc
+3 -2
| 17 | 17 | autoload -U complist |
|
| 18 | 18 | ||
| 19 | 19 | # Fzy integration |
|
| 20 | 20 | if command -v fzy >/dev/null 2>&1 && test -f ~/.fzy.zsh; then |
|
| 21 | 21 | source ~/.fzy.zsh |
|
| 22 | - | else |
|
| 23 | - | bindkey '^R' history-incremental-search-backward |
|
| 24 | 22 | fi |
|
| 25 | 23 | ||
| 24 | + | # Fzy history search doesn't sort things in a useful way, so we use zsh for now. |
|
| 25 | + | bindkey '^R' history-incremental-search-backward |
|
| 26 | + | ||
| 26 | 27 | # |
|
| 27 | 28 | # ls |
|
| 28 | 29 | # |
|
| 29 | 30 | LS_IGNORE="Dropbox" # ~/Dropbox is symlinked. |
|
| 30 | 31 |