Open Signum21 opened 3 months ago
It would be useful to have optional arguments for commands, possibly with selectable values.
An example that works for the ls command.
ls
# List files ls <parameters> $ parameters: echo -e "-l\n-a\n"
The last \n creates a blank line that can be selected to avoid choosing an option.
\n
This method doesn't work for optional parameters that require a value, for example head -n 5
head -n 5
Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)
It would be useful to have optional arguments for commands, possibly with selectable values.
An example that works for the
ls
command.The last
\n
creates a blank line that can be selected to avoid choosing an option.This method doesn't work for optional parameters that require a value, for example
head -n 5