mirror of
https://github.com/JonasunderscoreJones/BashCommandAliasEditor.git
synced 2025-10-22 21:09:19 +02:00
This program helps you to create and edit command aliases on the Bash shell
|
||
---|---|---|
command_alias-editor-v1.0.py | ||
command_alias-editor-v1.2.py | ||
command_alias_editor-v2.0.1.py | ||
command_alias_editor-v2.0.py | ||
README.md |
BashCommandAliasEditor
This program helps you to create and edit command aliases on Linux and MacOS (with the Bash Shell)
How to use
Windows and Linux
- Download the executable for your OS (clearly labeled) and execute it.
MacOS (manually) and Windows and Linux (alternative to above)
- Download the most recent verson of the python file
- Open a terminal and locate your Download directory ( if Downloaded in the default downlaods folder type: 'cd ~/Downloads'
- type 'python3 --version' to check if python is installed (install python3 if not already installed)
- Install all Dependencies. os:
pip3 install os
(install pip3 if not already installed) - type 'python3 [name_of_python-file] (example: 'python3 command_alias-editor_v1.0'
- The program should be executed. Follow all further instructions shown in the terminal
- Dont forget to execute 'source ~/.bashrc' at the end.
Why do I have to manualy execute 'source ~/.bashrc'?
The reason that this can't be done by the program itself is that it wouldn't be applied to the main shell but only for the runtime of the program itself. After the program exits, all changes will be reverted.
This problem could technically be solved by using subprocesses but ffs I'm not in the mood for doing that. It's some work which I don't wanna do