Skip to content

python script to parse .zsh file and create a file listing all alias's and expanded commands.

License

Notifications You must be signed in to change notification settings

hegner123/alias-echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

alias-echo

Python program that echos the aliases of a .zshrc file. Using add or remove arguments will add or remove aliases from the .zshrc file.

Requirements

python3: Download

Usage

Copy the contents of the main.py file into a file somewhere reliable on your computer.

Use your terminal to find your terminal's configuration file. For example, if you use zsh, you can find your configuration file by typing nano ~/.zshrc into your terminal.

Add an alias to your configuration file that points to the main.py file. For example, if you copied the main.py file to your home directory, you can add the following line to your configuration file: alias shortcuts="python3 ~/main.py".

Reload your configuration file by typing source ~/.zshrc into your terminal.

You can now type shortcuts into your terminal to see a list of your aliases.

About

python script to parse .zsh file and create a file listing all alias's and expanded commands.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages