add local/bin

This commit is contained in:
Michael Zhang 2024-06-13 10:48:49 -04:00
parent f97ef4dfa3
commit ade5f0e8ea
2 changed files with 11 additions and 1 deletions

View file

@ -898,7 +898,6 @@ $env.config = {
}
source ~/.cache/starship/init.nu
source ~/.zoxide.nu
alias ga = git add
alias gaa = git add --all
@ -917,3 +916,6 @@ alias grm = git rm
alias grmc = git rm --cached
alias gsh = git show
alias gst = git status
# This MUST be at the end
source ~/.zoxide.nu

View file

@ -104,6 +104,11 @@ $env.NU_PLUGIN_DIRS = [
$env.ANDROID_HOME = '/Users/michael/Library/Android/sdk'
$env.EDITOR = 'hx'
$env.OPAM_SWITCH_PREFIX = '~/.opam/5.1.0'
$env.OCAML_TOPLEVEL_PATH = '~/.opam/5.1.0/lib/toplevel'
$env.CAML_LD_LIBRARY_PATH = '~/.opam/5.1.0/lib/stublibs:/opt/homebrew/lib/ocaml/stublibs:/opt/homebrew/lib/ocaml'
path add `~/.local/bin`
path add '/opt/homebrew/bin'
path add '/usr/local/bin'
path add '~/go/bin'
@ -114,7 +119,10 @@ path add `~/.cargo/bin`
path add `~/Library/Application Support/fnm/aliases/default/bin/`
path add `~/.bun/bin`
path add `~/.ghcup/bin`
path add `~/.opam/5.1.0/bin`
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu
# This MUST be at the end
zoxide init nushell | save -f ~/.zoxide.nu