mirror of
https://github.com/Cian-H/dotfiles.git
synced 2025-12-23 03:41:57 +00:00
Fix to zoxide.nu
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
# Initialize hook to add new entries to the database.
|
# Initialize hook to add new entries to the database.
|
||||||
if (not ($env | default false __zoxide_hooked | get __zoxide_hooked)) {
|
if (not ($env | default false __zoxide_hooked | get __zoxide_hooked)) {
|
||||||
$env.__zoxide_hooked = true
|
$env.__zoxide_hooked = 1
|
||||||
$env.config = ($env | default {} config).config
|
$env.config = ($env | default {} config).config
|
||||||
$env.config = ($env.config | default {} hooks)
|
$env.config = ($env.config | default {} hooks)
|
||||||
$env.config = ($env.config | update hooks ($env.config.hooks | default {} env_change))
|
$env.config = ($env.config | update hooks ($env.config.hooks | default {} env_change))
|
||||||
|
|||||||
Reference in New Issue
Block a user