Commit 9597a2aa authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[_cranspasswords] La tab complétion était un poil foireuse, optimisé.

parent da83f591
......@@ -20,7 +20,7 @@ _cranspasswords(){
;;
esac
else
if [[ $words[2] == '-' ]]; then
if [[ "$words[2]"* == "-"* ]]; then
_cranspasswords_args
else
_cranspasswords_files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment