add special case for termux to reverse history search
This commit is contained in:
parent
a774407da2
commit
9c59097a83
9
zshrc
9
zshrc
|
@ -1,4 +1,5 @@
|
|||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
|
@ -87,10 +88,12 @@ fi
|
|||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
||||
# ensure histdb gets ctrl-r for history
|
||||
#bindkey '^R' histdb-fzf-widget
|
||||
#source ~/.zplug/repos/larkery/zsh-histdb/histdb-interactive.zsh
|
||||
#bindkey '^R' _histdb-isearch
|
||||
if grep -q "Android" <<< `uname -a`; then
|
||||
source ~/.zplug/repos/larkery/zsh-histdb/histdb-interactive.zsh
|
||||
bindkey '^R' _histdb-isearch
|
||||
else
|
||||
bindkey '^R' histdb-skim-widget
|
||||
fi
|
||||
|
||||
# Fix home/end/del silly
|
||||
if [[ "$TERM" != emacs ]]; then
|
||||
|
|
Loading…
Reference in a new issue