[feature] env-vars for golang

This commit is contained in:
Klesh Wong 2021-01-22 00:16:12 +08:00
parent 3cfe5d8c6b
commit 73a61d4208

View File

@ -13,6 +13,8 @@ $Env:Path += ";$Dir\bin"
$Env:PSModulePath += ";$Dir\Modules" $Env:PSModulePath += ";$Dir\Modules"
$Env:KUBE_EDITOR = 'nvim' $Env:KUBE_EDITOR = 'nvim'
$Env:EDITOR = 'nvim' $Env:EDITOR = 'nvim'
$Env:GO111MODULE = 'on'
$Env:GOPROXY = 'https://mirrors.aliyun.com/goproxy/,direct'
Set-Alias -Name k kubectl Set-Alias -Name k kubectl
Set-Alias -Name bm Open-Bookmark Set-Alias -Name bm Open-Bookmark
$isPs7 = $host.Version.Major -ge 7 $isPs7 = $host.Version.Major -ge 7