Export a PLUGIN_ROOT variable.
Move the "shell" command into its own plugin.
Use an inputrc to disable (useless) file completion in the shell.