Skip to content

Latest commit

 

History

History
55 lines (50 loc) · 1.65 KB

README.md

File metadata and controls

55 lines (50 loc) · 1.65 KB

Aliaser

Aliaser is an extension of the alias command to curry out aliasing of directories within folders automatically. All you have to do is create a directory and create files/folders with unique names. To alias them you don't have to manually add them. Aliaser comes to the rescue and you are now left to just type the names in the terminal and vuala. N.b: Default shell is zsh : change to Your preferred shell

Authors

Contributing

Contributions are always welcome!

Installation

  git clone https://github.com/michelangeloTM/Aliaser
  cd Aliaser
  sudo ./install

Usage/Examples

Automatically aliases folders in chosen directory path

aliaser -p /path/todir
...............______________________________........................
note:after running this type zsh on your terminal to restart session

Automatically aliases all folders in the Chosendir folders

cd Chosendir
aliaser -a auto
aliaser -r reset

RUNNING FROM THE REPO

Automatically aliases folders in chosen directory path

python3 or ./aliaser -p /path/todir
note:after running this type zsh on your terminal to restart session

Automatically aliases all folders in the Chosendir folders

cd Chosendir
python3 /path/to/aliaser -a auto
python3 /path/to/aliaser -r reset

N.B Aliasing a direcory that contains [aliaser] will also alias [aliaser] & hence edit the .zshrc file to match accordingly ........................._________________________................................. N.B Designed for zsh shell/ to run on bash change accordingly ...................................