Created
September 7, 2016 16:49
-
-
Save eighteyes/98f298763aef4fc76777bc00e1b83fe1 to your computer and use it in GitHub Desktop.
Quick new alias command for zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ala=__ala | |
# alias last as | |
function __ala(){ | |
echo "alias $1='`fc -ln -1`'" >> ~/.zsh-aliases | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment