From ddd9509d74fa8257e17cbd37db13456b997687eb Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Fri, 17 Jan 2025 09:04:46 +0000 Subject: [PATCH] =?UTF-8?q?feat(rc):=20Am=C3=A9lioration=20de=20la=20gesti?= =?UTF-8?q?on=20de=20mcfly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rc.d/mcfly | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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