From eb125865db0a3cc2e0e38a9a8cc7d7cbeef4417a Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Fri, 23 Feb 2024 16:09:24 -0800 Subject: [PATCH] Make it work through sudo --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index fd92315..eb65273 100644 --- a/.bashrc +++ b/.bashrc @@ -1,2 +1,4 @@ +source $HOME/.bashrc alias vim='vim -Nu <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/.vimrc)' alias tmux='tmux -f <(cat 2>/dev/null ~/.tmux.conf <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/.tmux.conf))' +alias "sudo"="sudo bash --rcfile <(curl 2>/dev/null https://git.lsit.ucsb.edu/scottwilliams/dotfiles/raw/branch/main/.bashrc)" \ No newline at end of file