Fix corner case in command completion of shell commands
Fix corner case in command completion of shell commands

Fixed the path part of command completion of shell commands when that path happens to being with "~" (i.e. relies on user path expansion).

python-cmd2/cmd2,python-cmd2/cmd2