mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 12:19:09 +01:00
fixed ordering of option maxdepth in find command
This commit is contained in:
1 parent
f74a0d895b
commit
9a6f0b89df
1 file changed
+1
-1
@@ -76,7 +76,7 @@ echo "Done updating this repository, now at the latest revision."
|
||||
|
||||
if [[ -z $choosen_playbook_path ]]
|
||||
then
|
||||
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_file="$(/usr/bin/find ansible -maxdepth 1 -name '*.yml' -type f | xargs basename -a | /usr/bin/fzf --header 'Choose a configuration file' --pointer 👉 --prompt 🔍)"
|
||||
choosen_playbook_path="ansible/$choosen_playbook_file"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user