Macros & alias for multiple cmd2 commands #1320
Closed
Sripadvallabh
started this conversation in
General
Replies: 1 comment 2 replies
-
However, you can run multiple commands in scripts. For a basic command script, create a file with one command per line.
Run it using If you want, you can create an alias to run the script.
Lastly, you can use a startup script to recreate your aliases each time you start the application. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a way to add multiple cmd2 commands into an alias or macro in any way?
Bash supports the '&&' or ';' operator to combine multiple commands; is there a way to do the same in cmd2???
Beta Was this translation helpful? Give feedback.
All reactions