diff options
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/.zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index c6c0e89..7f0697a 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -86,6 +86,10 @@ if command -v gpg2 &> /dev/null; then alias gpg='gpg2' fi +if [[ "$OSTYPE" == 'cygwin' ]]; then + alias sudo='cygstart --action=runas' +fi + # collapse spaces into tabs in-place # spacetotab <FILE> [WIDTH=4] function spacetotab () { |