Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Make accessing home which doesn't exist to be an error. #1275

Open
xfix opened this Issue Jan 31, 2014 · 1 comment

Comments

Projects
None yet
3 participants
Member

xfix commented Jan 31, 2014

Current behavior is not consistent in my opinion.

~ $ echo ~glitchmr
/home/glitchmr
~ $ echo ~notreally
~notreally

Why would typing existing username work, and the username that doesn't cause the text to appear literally. It already causes an error when any other expansion fails (to confusion of people reporting stuff like #683).

@ridiculousfish ridiculousfish added this to the fish-future milestone Oct 26, 2014

Contributor

krader1961 commented Mar 19, 2017

Note that bash behaves like fish currently does but zsh gives an error:

macpro% echo ~jksld
zsh: no such user or named directory: jksld

Personally, I agree that this should be an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment