Skip to content
/ Aliaser Public

A friendly program to alias all folders in a directory by their names

Notifications You must be signed in to change notification settings

yada97/Aliaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 ...................................

About

A friendly program to alias all folders in a directory by their names

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published