
Use this freedom to chkdsk at will without get mildly pissed that you forgot to run a privileged instance. You can try it out by opening an unprivileged console window and typing sudo powershell and you’ll be dropped in to a privileged PowerShell instance without spawning a new console window. choco feature enable -n allowGlobalConfirmation # To suppress confirmations Now, let’s install gsudo so I never have to spawn another console window again. Set-ExecutionPolicy Bypass -Scope Process -Force ::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString( ''))įollow the prompts and soon you should have a package manager at your disposal. For the first and last time, open a privileged PowerShell console window (if you get Command Prompt (Admin) instead, open that, grant UAC permissions and type powershell) and install the Chocolatey Package Manager. If you want an elevated prompt on Windows, you are forced to move to the Windows logo on the bottom left, right click and open a dedicated Command Prompt (Admin) instance, if you want to just run an elevated command in a non-elevated prompt, you’re SOL.
Windows also doesn’t have an equivalent for sudo, a tool that I take for granted on macOS and Manjaro. Windows doesn’t come with a package manager.
“clear” broken on Windows when using with Git BASH - Issue #1559. Check if process is running - AutoHotkey Community. OS X Like - Windows with MAC keyboard - AutoHotkey Community. Run scripts as administrator? - AutoHotkey Community. angelog0’s reply on Issue #1684 (Using MSYS2 in Windows Terminal). Borek Bernard’s zsh on Windows via MSYS2. So, let’s first start with things that aren’t present in Windows that I sorely miss and how I resolved them. This is first in a three part series where I make Windows more like macOS more like Manjaro more like macOS more like Windows. macOS doesn’t have Ctrl + Alt + Del and the Home and End key behave differently for some reason. Windows needs cd /d because just cd doesn’t do it and ls doesn’t exist because I’m supposed to use dir instead. I had to fight my muscle memory, because on Windows Ctrl + Q doesn’t mean anything because of course you’re supposed to use Alt + F4 and on macOS, I can’t open the terminal using Ctrl + Alt + T like I can on Manjaro. I can’t have bash or zsh on Windows by default (and no, I’m not using WSL because that’s cheating, it’s a compatibility layer and I’m basically running two userspaces which creates problems See the idiosyncrasies of WSL documented by the Bitcoin project and a WSL2 bug that’s really annoying) I found that there were habits that I learned when using any one of those three operating systems for a long time so switching to another platform abruptly, caused a period of disruption and mild irritation to say the least. When I found myself with a triple-boot setup, switching between macOS, Manjaro and Windows 10.