aka generate hello='echo helloworld'
aka destroy hello
aka edit hello
aka find hello
aka usage
aka
git clone https://github.com/ytbryan/aka.git ~/.aka
cd ~/.aka
bundle
./aka install
./aka 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`
aka g hello='echo helloworld'
aka d hello
aka e hello
aka f hello
aka u
aka