You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://forum.snapcraft.io/t/classic-confinement-for-term-cheat/9832/6 abitrolly wrote:
In the meanwhile it might be possible for it to write commands as scripts to $HOME/bin/. Like, for example mark with space and then hit ‘s’ to produce “$HOME/bin/list open ports.sh” for example.
I am not sure if it is possible to create scripts or shell aliases that could be invoked like this.
$ list open ports
# netstat -tulpn
Active Internet connections (only servers)
...
That would be awesome. term-cheat could also print apt command with dependencies that need to be installed for the given OS for the selection.
The text was updated successfully, but these errors were encountered:
term-cheat could also print apt command with dependencies that need to be installed for the given OS for the selection.
Yes I had the idea too I think this is a great idea. I will add a field where the install command can be put. I would create different start files for different operating systems with customized install comands to not bloat the ui too much
I am not sure if it is possible to create scripts or shell aliases that could be invoked like this.
It would be possible to create scripts like that but having scripts with space in the name do not make much sense in my opinion. I would rather go for an option like "create alias" that then asks for an alias name which will then append an alias line to a .alias file. This file you can then source from your .bashrc or .zshrc file or whatever shell you use.
https://forum.snapcraft.io/t/classic-confinement-for-term-cheat/9832/6 abitrolly wrote:
In the meanwhile it might be possible for it to write commands as scripts to $HOME/bin/. Like, for example mark with space and then hit ‘s’ to produce “$HOME/bin/list open ports.sh” for example.
I am not sure if it is possible to create scripts or shell aliases that could be invoked like this.
That would be awesome. term-cheat could also print apt command with dependencies that need to be installed for the given OS for the selection.
The text was updated successfully, but these errors were encountered: