sh (the default Bourne shell in FreeBSD) supports command-line editing. Just
``set -o emacs'' or ``set -o vi'' to enable it. Use "<TAB>" key to complete
paths.
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/fbfortune/statuses/115974028304614461 on your instance and quote it. (Note that quoting is not supported in Mastodon.)