diff --git a/Examples.md b/Examples.md index 43a6b8b..bf8ebb3 100644 --- a/Examples.md +++ b/Examples.md @@ -349,9 +349,9 @@ fstash() { sha="${out[-1]}" sha="${sha%% *}" [[ -z "$sha" ]] && continue - if [[ "$k" = 'ctrl-d' ]]; then + if [[ "$k" == 'ctrl-d' ]]; then git diff $sha - elif [[ "$k" = 'ctrl-b' ]]; then + elif [[ "$k" == 'ctrl-b' ]]; then git stash branch "stash-$sha" $sha break; else