3 ms·
Powershell, Windows Terminal and oh-my-posh get you pretty close to zsh on Linux. I'll comment back with a few more tweaks I had to make to powershell to get cl
by eatonphil 5y ago
Powershell, Windows Terminal and oh-my-posh get you pretty close to zsh on Linux. I'll comment back with a few more tweaks I had to make to powershell to get closest to the Linux experience.
But my biggest gripe is not having tmux. There are some window/tab/pane management shortcuts in Windows Terminal but they're not as good as tmux (yet).
- eatonphil 5y agoHere's my $PROFILE: Import-Module PSReadLine Set-PSReadLineOption -EditMode Emacs Set-PSReadLineOption -HistorySearchCursorMovesToEnd Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward Set-PSReadLineKeyHandler -Key Tab -Function Complete Import-Module posh-git Import-Module oh-my-posh Set-PoshPrompt -Theme material function e { emacs -nw $args } function gs { git status $args } del alias:gc -Force function gc { git commit $args } del alias:gp -Force function gp { git push -u origin $(git branch --show-current) } function python { python3 $args }
- beart 5y agoYou can also enable predictive intellisense with PSReadLine 2.1+ https://devblogs.microsoft.com/powershell/announcing-psreadline-2-1-with-predictive-intellisense/ https://devblogs.microsoft.com/powershell/announcing-psreadl...