Hacker News new | ask | show | jobs
by oops 886 days ago
My understanding is that the question mark is part of the alias name.
1 comments

Oh that makes sense. I never am completely sure how to deal with the interaction of quote marks at the intersection of code and English
Yup: that's why I put in quotes... I'm literally using "h?" as a Bash alias, as GP said.

It may be a bit weird to use a question mark as part of a Bash alias that said: sorry for the confusion!

For what it's worth, I like to use backticks in these situations (e.g. `h?`). I think it reduces ambiguity a bit.
I do this too although it can add ambiguity when writing about the shell!