diff --git a/bin/fuz b/bin/fuz index 00626fa..88f5933 100755 --- a/bin/fuz +++ b/bin/fuz @@ -8,7 +8,7 @@ main() { file_to_edit=`select_file $previous_file` if [ -n "$file_to_edit" ] ; then - "$EDITOR" "$file_to_edit" + "${EDITOR:-vim}" "$file_to_edit" main "$file_to_edit" fi }