Fixed `fish-shell` support bugs, and removed unnecessary hash commands.

Signed-off-by: Rack Lin <racklin@gmail.com>
Merge pull request #426 from racklin/bugfix/fish-shell1

Fixed `fish-shell` support bugs, and removed unnecessary hash commands.