I am using R a lot. In R, you can call a man page for a function by writing
?print
I got used to that so much that I intermittently type that in a bash shell window as well. Now, I have set up an alias
?='man'
that almost cuts it: I can do, for example, ? ls
. However, I would prefer it to work with ?ls
. Unfortunately, this one does not work. Is there any way to make bash call the man page when I type the question mark without the space after?