huge progress dump, impermanence

This commit is contained in:
Charlie Root 2024-09-20 15:45:44 +02:00
commit fce64637c2
13 changed files with 161 additions and 81 deletions

View file

@ -1,6 +1,17 @@
let starship_installed = not (which starship | is-empty)
let direnv_installed = not (which direnv | is-empty)
$env.config = {
show_banner: false
hooks: {
pre_prompt: [{ ||
if $direnv_installed {
direnv export json | from json | default {} | load-env
} else { return }
}]
}
}