Skip to content
Snippets Groups Projects
Commit 0fef5b4d authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Fix bash completion for sandbox subcommands.

Fixes #2513.
parent a4a414ee
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ _cabal_subcommands()
# using simple regexp and "sandbox" subcommand is printed for each
# successful substitution.
"$1" help sandbox |
sed -rn '/Flags/q;s/^.* sandbox *([^ ]*).*/\1/;t p;b;: p;p'
sed -rn '/Flags/q;s/^.* cabal sandbox *([^ ]*).*/\1/;t p;b;: p;p'
break # Terminate for loop.
;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment