mirror of
https://github.com/jimeh/zsh-peco-history.git
synced 2026-02-19 13:36:39 +00:00
Keep command exists checks consistent
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# Based on: https://github.com/mooz/percol#zsh-history-search
|
||||
|
||||
if which peco &> /dev/null; then
|
||||
if (( $+commands[peco] )); then
|
||||
function peco_select_history() {
|
||||
local parse_cmd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user