aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhumphreylin <[email protected]>2019-08-14 22:26:00 +0800
committerhumphreylin <[email protected]>2019-08-14 22:26:00 +0800
commit7f28266474f73be0db883e0dd2c8850150faabaa (patch)
tree7b76eedf20a8f4b91ad848746f1eeeff6f3eeabe
parent12831ccc7f8d3e3b12b27f116935738fd3d55165 (diff)
downloaddotfiles-7f28266474f73be0db883e0dd2c8850150faabaa.tar.gz
dotfiles-7f28266474f73be0db883e0dd2c8850150faabaa.tar.bz2
dotfiles-7f28266474f73be0db883e0dd2c8850150faabaa.zip
add alias that works only in wsl
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
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'