Skip to content

ricky0123/aliasgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aliasgo: Bash Alias Manager

Snap Status

Aliasgo allows you to configure multi-level bash aliases through yaml. It reads yaml in from stdin and writes bash source code to stdout.

Installation

Install with Snap

snap install aliasgo

or install with go

go install github.com/ricky0123/aliasgo@latest

Example usage

Create a file ~/.aliasgo.aliases.yml with the following contents

# ~/.aliasgo.aliases.yml

cm: chemzoi

g:
  $: git
  s: status
  q: commit -am "$(date)" && git push

Then run cat ~/.aliasgo.aliases.yml | aliasgo > ~/.aliasgo.aliases.bash and add source $HOME/.aliasgo.aliases.bash to your ~/.bashrc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors