Skip to content

ammar-q/EasyAlias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyAlias

Quick and robust aliasing for command line.

Installation

Clone this repository and run make.
Navigate to either ~/.bash_profile or ~/.bashrc.
Paste in the following code:

if [ -f ~/.bash_easyaliases ]; then
  . ~/.bash_easyaliases
fi

Finally, run source ~/.bashrc or source ~/.bash_profile.
You're all set.

Usage

  • Learn: assign current working directory an alias.
    learn <alias>
    l <alias>

  • Forget: drop matching alias.
    forget <alias>
    f <alias>

  • Enter: navigate to directory stored as alias.
    enter <alias> goto <alias> switch <alias>
    e <alias> gt <alias> sw <alias>

  • Show: list all aliases currently in use.
    show

About

Quick and robust aliasing for command line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published