From 7f28266474f73be0db883e0dd2c8850150faabaa Mon Sep 17 00:00:00 2001 From: humphreylin Date: Wed, 14 Aug 2019 22:26:00 +0800 Subject: add alias that works only in wsl --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 1711ce8..6048dbe 100644 --- a/.bashrc +++ b/.bashrc @@ -120,6 +120,9 @@ fi export EDITOR=/usr/bin/vim # alias +if grep -q Microsoft /proc/version; then + alias psh='powershell.exe' +fi alias g='git' alias gaa='git add --all' alias gc='git commit -v' -- cgit v1.2.3