Keep command exists checks consistent

This commit is contained in:
2018-12-04 02:11:32 +00:00
parent fed6b2db3a
commit 0128edd6e8

View File

@@ -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