I'd like use ~
as user home, %USERPROFILE%
is too long.
But I don't know where to set this alias/mapping, since windows cmd not support alias, I am afraid ConEmu can not do this.
False. cmd.exe
support aliases. Moreover, ConEmu provides easy way to setup them.
So you may define in ConEmu Environment:
alias ~=cd /d "%USERPROFILE%"
And after that you may execute in cmd.exe prompt:
D:\Sources> ~
C:\Users\Max>
Or you may create an alias for cd~
to make it more natural:
alias cd~=cd /d "%USERPROFILE%"
And execute it
D:\Sources> cd~
C:\Users\Max>