From 6622fc62eaf55b9f244d708783e06751c07d6238 Mon Sep 17 00:00:00 2001 From: Anthony Oteri Date: Thu, 18 Jan 2024 16:00:34 -0500 Subject: [PATCH] Add nushell alias for dotfiles --- .config/nushell/config.nu | 1 + .config/nushell/env.nu | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.config/nushell/config.nu b/.config/nushell/config.nu index ba8962c..16dc97b 100644 --- a/.config/nushell/config.nu +++ b/.config/nushell/config.nu @@ -769,6 +769,7 @@ alias lg = lazygit alias cat = bat alias vim = nvim alias vi = nvim +alias dotfiles = /usr/bin/git --git-dir=/home/anthony/.dotfiles/ --work-tree=/home/anthony alias arch = coreutils arch alias b2sum = coreutils b2sum diff --git a/.config/nushell/env.nu b/.config/nushell/env.nu index ee96b0d..73cf652 100644 --- a/.config/nushell/env.nu +++ b/.config/nushell/env.nu @@ -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: # $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 starship init nu | save -f ~/.cache/starship/init.nu