Skip to content
Myr

improve test logic and be explicit about the test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by a1346054 · committed by Junegunn Choi · parent 8f899aa · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:uninstall+3 added-3 removed
102 unmodified lines
103if [ -d "${fish_dir}/functions" ]; then104 remove "${fish_dir}/functions/fzf.fish"105 remove "${fish_dir}/functions/fzf_key_bindings.fish"106107 if [ "$(ls -A "${fish_dir}/functions")" ]; then108 echo "Can't delete non-empty directory: \"${fish_dir}/functions\""109 else107 if [ -z "$(ls -A "${fish_dir}/functions")" ]; then108 rmdir "${fish_dir}/functions"109 else110 echo "Can't delete non-empty directory: \"${fish_dir}/functions\""111 fi112fi113114config_dir=$(dirname "$prefix_expand")
3 unmodified lines