Rosettea / Hilbish

🌓 The Moon-powered shell! A comfy and extensible shell for Lua fans! 🌺 ✨
https://rosettea.github.io/Hilbish/
MIT License
496 stars 21 forks source link

feat: add alias command #309

Closed youkwhd closed 1 month ago

youkwhd commented 1 month ago

reference: https://pubs.opengroup.org/onlinepubs/9699919799.2016edition/utilities/V3_chap02.html#tag_18_14

TorchedSammy commented 1 month ago

i'm actually not very sure that i want this to be added, since the syntax here for adding an alias is different to calling a function to do it, since it tries to imitate a posix shell. it might be useful for quickly looking at aliases though.

youkwhd commented 1 month ago

makes sense, that explains why the alias API itself is already existed

i will close this