feat(rc): Amélioration de la gestion de mcfly

This commit is contained in:
Xavier Logerais 2025-01-17 09:04:46 +00:00
parent 30597e31ed
commit ddd9509d74

View File

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