Improving the postactivate hook example to work both for zsh/bash
users
Details
Details
- Reviewers
douardda - Group Reviewers
Reviewers - Commits
- rDDOCb9be5b5cbfb0: docs/developer-setup: Update documentation about auto-completion
After amending the postactivate hook described in the diff:
$ bash $ workon swh $ swh-scheduler <tab> <tab> # <- completion should work and show the scheduler's cli subcommands $ deactivate $ zsh $ workon swh # <- this no longer displays warnings/errors about completion $ swh-scheduler <tab> <tab> # <- completion should now work as in the bash shell
Diff Detail
Diff Detail
- Repository
- rDDOC Development documentation
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
docs/developer-setup.rst | ||
---|---|---|
78 | i did the case/esac stuff as i found it clearer than the if/else |