Readme typos

This commit is contained in:
Arne Beer 2020-02-02 16:15:38 +01:00
parent d9ae26b97c
commit d6e0670843

View file

@ -99,15 +99,15 @@ Afterward, every user can start/enable their own session with:
## How to use it:
To add a command just write: `pueue add sleep 60`\
If you want to add flags to the command, you can eithr:
If you want to add flags to the command, you can either:
- add `--` => `pueue add -- ls -al`
- surround the command with a string `pueue add 'ls -al'`
For normal operation it's recommended to add an alias to your shell's rc.\
E.g.: `alias pad='pueue add --'`.
E.g.: `alias pad='pueue add --'`
Surrounding a command with quotes is also required, if your command contains escaped characters.\
For instance `pueue add ls /tmp/long\ path` will result in the execution of `sh -c ls /tmp/long path`, which will then break, as the escaping is not passed to Pueue.
For instance `pueue add ls /tmp/long\ path` will result in the execution of `sh -c ls /tmp/long path`, which will then break, as the escaped space is not passed to Pueue.
The command will then be added and scheduled for execution, as if you executed it right now and then.