[bugfix] symlink support

This commit is contained in:
Klesh Wong 2021-01-16 14:05:46 +08:00
parent ff8da8e14f
commit 4b5eebc2d4

View File

@ -8,7 +8,9 @@ Set-PSReadLineOption -PredictionSource History
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r'
$Env:Path += ";$PSScriptRoot\bin"
$Dir = (Get-Item (Get-Item $PSCommandPath).Target).Directory.FullName
$Env:Path += ";$Dir\bin"
$Env:PSModulePath += ";$Dir\Modules"
$Env:KUBE_EDITOR = 'nvim'
$Env:EDITOR = 'nvim'
Set-Alias -Name k kubectl