user_default
is a module to add custom shell command. More doc can be found at erl -man erl
's user_default and shell_default
section.
- add a file
~/.erlang
code:load_abs("/path/to/this/repo/ebin/user_default").
- add your custom command in
src/user_default.erl
make build
- enter an erlang shell and you will have your custom shell command