Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create temporary aliases in zshrc

Tags:

bash

zsh

Is there a way to create an temporary aliases, mainly to cut down typing dir paths, especially those not used as often to warrant adding to .bash_aliases?

Thanks

like image 578
sent-hil Avatar asked Oct 23 '25 14:10

sent-hil


1 Answers

Just type one in.

94 $ alias hello='echo hello'
95 $ hello
hello
like image 91
Keith Avatar answered Oct 25 '25 04:10

Keith