diff --git a/zshrc b/zshrc index 7146008..3a8f2fa 100644 --- a/zshrc +++ b/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 -bindkey '^R' histdb-skim-widget +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