Found a bug that if a / is part of the environment to delete it will not be removed from the environment list.
Found a bug where if someone autocompletes the deletion of an environment it was not being removed from the list due to the trailing / so reworked method that removes an environment from the environment list so it can handle autocompleted file paths as well as manually typed.
Merge remote-tracking branch 'upstream/master'
Replaced specific referent to forward slash with directory separator to make it more cross OS.
Removed if statement in favor of a one line solution.
Merge pull request #32 from jwoodcock/master

Bug fix in environment remove from list.