Normally, ~ in my shell maps to /home/myuserid. How can I make it map to another directory?
|
|
If you really want to do this, you can E.g.
But do note that this can break stuff, as noted in a comment: anything that refers to your home directory via |
|||||
|
|
You can also assign a different path in |
||||
|
|
|
Different options for different circumstances:
Caution: Cygwin does not get on with having spaces in the home directory name. It's not supported, causes untold trouble, and the consistent response on the Cygwin mailing list when people have trouble is "well don't do that then". In particular, this means a home directory like |
|||
|
|