Skip to content

rainux/aliaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

aliaser

Create git style alias for any command line utility.

Usage

Create a configuration file ~/.aliaser with the following contents:

[core]
    d   = docker
    dc  = docker-compose
    dm  = docker-machine

[docker]
    i       = images
    rma     = rm `docker ps -a -q`
    rmdi    = rmi `docker images -f "dangling=true" -q`
    rme     = rm `docker ps -a -f "status=exited" -q`

[docker-compose]
    rma     = kill
    rma     = rm

Run aliaser install will create symbolic links d, dc and dm to aliser, now you can call them instead of the corresponding original commands, with the bonus ability to use aliases configured in the above sections.

About

Create git style alias for any command line utility.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages