nushell support
This commit is contained in:
7
nushell/modules/pj_zoxide.nu
Normal file
7
nushell/modules/pj_zoxide.nu
Normal file
@@ -0,0 +1,7 @@
|
||||
export def --env init [] {
|
||||
let zoxide_nushell_path = ($env.NU_POLYJUICE_AUTOLOAD_DIRS | path join "zoxide.nu")
|
||||
if ($zoxide_nushell_path | path exists) {
|
||||
rm $zoxide_nushell_path
|
||||
}
|
||||
zoxide init nushell --cmd z | save -f $zoxide_nushell_path
|
||||
}
|
||||
Reference in New Issue
Block a user