[bugfix] symlink support
This commit is contained in:
parent
ff8da8e14f
commit
4b5eebc2d4
|
@ -8,7 +8,9 @@ Set-PSReadLineOption -PredictionSource History
|
||||||
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r'
|
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:KUBE_EDITOR = 'nvim'
|
||||||
$Env:EDITOR = 'nvim'
|
$Env:EDITOR = 'nvim'
|
||||||
Set-Alias -Name k kubectl
|
Set-Alias -Name k kubectl
|
||||||
|
@ -99,4 +101,4 @@ function pass-edit {
|
||||||
Move-Item -Path "${tmpfile.FullName}.gpg" -Destination "$Path" -Force
|
Move-Item -Path "${tmpfile.FullName}.gpg" -Destination "$Path" -Force
|
||||||
Remove-Item $tmpfile.FullName -Force
|
Remove-Item $tmpfile.FullName -Force
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user