Added the export for WSL
This commit is contained in:
parent
cdbab4fe6a
commit
9cef563b9a
5
.zshrc
5
.zshrc
@ -128,6 +128,11 @@ export PATH=$PATH:$HOME/.gem/ruby/2.6.0/bin
|
|||||||
[ -d $HOME/repo/fortigate/bin ] && export PATH=$HOME/repo/fortigate/bin:$PATH
|
[ -d $HOME/repo/fortigate/bin ] && export PATH=$HOME/repo/fortigate/bin:$PATH
|
||||||
export HISTTIMEFORMAT="%F %T "
|
export HISTTIMEFORMAT="%F %T "
|
||||||
|
|
||||||
|
# Export for WSL
|
||||||
|
if [[ "$(uname -sr)" =~ "Microsoft" ]]; then
|
||||||
|
export GOROOT=/usr/lib/go
|
||||||
|
fi
|
||||||
|
|
||||||
# Export for Mac
|
# Export for Mac
|
||||||
if [[ "$(uname)" == "Darwin" ]]; then
|
if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
export PATH="/usr/local/opt/openssl@3/bin:$PATH"
|
export PATH="/usr/local/opt/openssl@3/bin:$PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user