The general configuration of my development environment and many other general computer things.
1#!/usr/bin/env nu
2
3# Generate zoxide configuration
4if (which zoxide | is-empty) == false {
5 mkdir ~/.cache/zoxide/
6 zoxide init nushell --hook prompt | save --force ~/.cache/zoxide/zoxide.nu
7}
8
9if (which starship | is-empty) == false {
10 mkdir ~/.cache/starship/
11 starship init nu | save --force ~/.cache/starship/init.nu
12}