Fork me on GitHub aka - The Missing Alias Manager

aka

The Terminal's Missing Alias Manager

View Code Send Pull Request Submit Issues

Usage

	
aka generate hello='echo helloworld' 
aka destroy hello  
aka edit hello  
aka find hello  
aka usage  
aka  
	
	


Install

	
git clone https://github.com/ytbryan/aka.git ~/.aka
cd ~/.aka
bundle
./aka install
./aka setup
	
	


Manual Setup

Paste the following code into /etc/profile. Remember to change the path Users/___/.bash_profile

	
export HISTSIZE=10000
sigusr2() { unalias $1;}
sigusr1() { source /Users/__/.bash_profile; history -a; echo 'reloaded dot file'; }
trap sigusr1 SIGUSR1
trap 'sigusr2 $(cat ~/sigusr1-args)' SIGUSR2
	
	

Or simply type `cd ~/.aka; sudo ./aka setup`



Shorter commands? Sure.

	
aka g hello='echo helloworld' 
aka d hello
aka e hello 
aka f hello 
aka u 
aka 
	
	

Requirement

Ruby

License

MIT

Special Thanks

@luugiathuy @sockmister