mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 20:35:11 +01:00
Provide 'vim' as fallback
This commit is contained in:
2
bin/fuz
2
bin/fuz
@@ -8,7 +8,7 @@ main() {
|
|||||||
file_to_edit=`select_file $previous_file`
|
file_to_edit=`select_file $previous_file`
|
||||||
|
|
||||||
if [ -n "$file_to_edit" ] ; then
|
if [ -n "$file_to_edit" ] ; then
|
||||||
"$EDITOR" "$file_to_edit"
|
"${EDITOR:-vim}" "$file_to_edit"
|
||||||
main "$file_to_edit"
|
main "$file_to_edit"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user