-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set ~ to home directory #327
Comments
+1 |
|
@MartiUK IMHO this can be included in default aliases. |
It would be amazing if |
I think here is two options. First is
to Cmder's |
A last option is to use AutoHotkey #IfWinActive ahk_class VirtualConsoleClass This will replace ~ by whatever you want, as soon as you type anotther character ('/' or Enter):
Note that it's working all the time in ConEmu, meaning it would work even if you ssh into another machine (whic seems plain wrong - I usually stop AutoHotKey aat this point) |
Unfortunately all of these workarounds is just a surrogates and can't provide Bash-like |
This will never happen, I suggest using PowerShell in cmder if you desperately want ~ aliased. |
@vladimir-kotikov Thank you for the |
Works beautifully, thanks so much! |
I wrote a small batch script that exactly handles this, and I think it's a better solution rather than aliasing If anyone comes along in the future, please have a look here: |
Maybe this is easy to do, but how do I set
~
to the current users home directory?The text was updated successfully, but these errors were encountered: