Compare commits

...

2 Commits

Author SHA1 Message Date
Marcin Woźniak
d44dadd0e0 Merge branch 'master' of ssh://git.yorune.pl/y0rune/myhome 2022-08-01 18:51:33 +02:00
Marcin Woźniak
9cef563b9a Added the export for WSL 2022-08-01 18:51:13 +02:00

5
.zshrc
View File

@ -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
export HISTTIMEFORMAT="%F %T "
# Export for WSL
if [[ "$(uname -sr)" =~ "Microsoft" ]]; then
export GOROOT=/usr/lib/go
fi
# Export for Mac
if [[ "$(uname)" == "Darwin" ]]; then
# Resolve problem with GOPATH