diff --git a/rc.d/mcfly b/rc.d/mcfly index 0284aa4..4c30022 100644 --- a/rc.d/mcfly +++ b/rc.d/mcfly @@ -1,11 +1,11 @@ #!/bin/bash -if (which mcfly &>/dev/null); then - export MCFLY_PROMPT="❯" - export MCFLY_INTERFACE_VIEW=BOTTOM - export MCFLY_RESULTS=50 - export MCFLY_RESULTS_SORT=LAST_RUN - # export MCFLY_KEY_SCHEME=vim - export MCFLY_FUZZY=3 - eval "$(mcfly init bash)" +if (command -v mcfly &>/dev/null); then + export MCFLY_PROMPT="❯ " + export MCFLY_INTERFACE_VIEW=BOTTOM + export MCFLY_RESULTS=50 + export MCFLY_RESULTS_SORT=LAST_RUN + # export MCFLY_KEY_SCHEME=vim + export MCFLY_FUZZY=3 + eval "$(mcfly init bash)" fi