#!/usr/bin/env nu # Generate zoxide configuration if (which zoxide | is-empty) == false { mkdir ~/.cache/zoxide/ zoxide init nushell --hook prompt | save --force ~/.cache/zoxide/zoxide.nu } if (which starship | is-empty) == false { mkdir ~/.cache/starship/ starship init nu | save --force ~/.cache/starship/init.nu }