by inanutshellus · 1y ago · 0 comments
Making standalone scripts would make that trivial, so it's tempting to take him up on his idea.
That said, his list of benefits of aliases clearly makes a strong case for using them over scripts.
As he said, YMMV.
and maybe it's in neither my `functions` nor `aliases` file. Maybe it's in my `scm` file, or ... Oh!
I remember, it's in my `prompt` file because I add SCM info to my prompt and this function injects the segment of the SCM url I'm after into my PS1 variable...
which foo
On Zsh that tells you if it’s an alias, a function, or a script.