Add nushell alias for dotfiles

This commit is contained in:
Anthony Oteri
2024-01-18 16:00:34 -05:00
parent 74d3a643c1
commit 6622fc62ea
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -769,6 +769,7 @@ alias lg = lazygit
alias cat = bat alias cat = bat
alias vim = nvim alias vim = nvim
alias vi = nvim alias vi = nvim
alias dotfiles = /usr/bin/git --git-dir=/home/anthony/.dotfiles/ --work-tree=/home/anthony
alias arch = coreutils arch alias arch = coreutils arch
alias b2sum = coreutils b2sum alias b2sum = coreutils b2sum
+2
View File
@@ -100,6 +100,8 @@ $env.NU_PLUGIN_DIRS = [
# To add entries to PATH (on Windows you might use Path), you can use the following pattern: # To add entries to PATH (on Windows you might use Path), you can use the following pattern:
# $env.PATH = ($env.PATH | split row (char esep) | prepend '/some/path') # $env.PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
$env.PATH = ($env.PATH | split row (char esep) | prepend '/home/anthony/.cargo/bin')
mkdir ~/.cache/starship mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu starship init nu | save -f ~/.cache/starship/init.nu