emojified the prompt of fzf for the system installation script

This commit is contained in:
aminnairi
2024-01-06 13:36:29 +01:00
parent 0ad4fc7be5
commit eb5fcae71e
+1 -1
View File
@@ -65,7 +65,7 @@ choosen_playbook_path=$1
if [[ -z $choosen_playbook_path ]] if [[ -z $choosen_playbook_path ]]
then then
choosen_playbook_file="$(/usr/bin/find ansible -name '*.yml' -type f -maxdepth 1 | xargs basename -a | /usr/bin/fzf)" choosen_playbook_file="$(/usr/bin/find ansible -name '*.yml' -type f -maxdepth 1 | xargs basename -a | /usr/bin/fzf --header 'Choose a configuration file' --pointer 👉 --prompt 🔍)"
choosen_playbook_path="ansible/$choosen_playbook_file" choosen_playbook_path="ansible/$choosen_playbook_file"
fi fi