Skip to content

precommands with skipped words #594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
danielshahaf opened this issue Dec 22, 2018 · 2 comments
Open

precommands with skipped words #594

danielshahaf opened this issue Dec 22, 2018 · 2 comments

Comments

@danielshahaf
Copy link
Member

It would be nice to have ssh $hostname ls -l and jexec $jname ls -l highlighted; this could be done by extending the precommands mechanism to allow skipping one word before the command name.

@danielshahaf
Copy link
Member Author

Cross-referencing #695.

@danielshahaf
Copy link
Member Author

danielshahaf commented Mar 19, 2020

Incidentally, the arguments to ssh are joined by spaces and split again on the remote end, so ssh $hostname "ls -l" is valid too. Hmm…

(See also #710)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant