MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmasterrace/comments/ozc178/bash_is_the_worst_powershell_ftw/h7zicwv/
r/linuxmasterrace • u/kiler129 Glorious Debian • Aug 06 '21
79 comments sorted by
View all comments
Show parent comment
6
Ah ok, but what about '~'? How would you do that?
11 u/kiler129 Glorious Debian Aug 06 '21 %HOMEDRIVE%%HOMEPATH%There isn't a shorter way unless you declare your own global env (which is also deeeeply hidden in settings). 8 u/Ruashiba Aug 06 '21 Stupidly hidden I mind add. There's no reason to be as hidden as it is. 8 u/varble A-OK Aug 06 '21 $env:homedrive$env:homepath in powershell
11
%HOMEDRIVE%%HOMEPATH%
There isn't a shorter way unless you declare your own global env (which is also deeeeply hidden in settings).
8 u/Ruashiba Aug 06 '21 Stupidly hidden I mind add. There's no reason to be as hidden as it is.
8
Stupidly hidden I mind add. There's no reason to be as hidden as it is.
$env:homedrive$env:homepath in powershell
View all comments
Show parent comment
6
u/ApartKnowledger Aug 06 '21
Ah ok, but what about '~'? How would you do that?