dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.62k stars 66 forks source link

Get existing aliases, abbreviations, and commands #58

Open mnewt opened 6 years ago

mnewt commented 6 years ago

You can find these out with, for example, (prn closh.core/*closh-aliases*) and (closh.core/expand-alias) but there should be a more user-friendly way to access them.

@dundalek What do you think? Add an alias or getalias command (and corresponding commands for abbreviations and commands)?

dundalek commented 6 years ago

Is there some particular use case you have in mind?

mnewt commented 6 years ago

Working at the command line: Enumerating them and getting their contents