From 25ed0981f469c8832d223bdb5b2a4dda5994fcdb Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Fri, 26 May 2023 14:27:13 +0200 Subject: [PATCH] Added restoring of default .bashrc --- setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 8d2d4dc..4138232 100755 --- a/setup.sh +++ b/setup.sh @@ -74,6 +74,9 @@ if [ ! -f ~/.gitconfig ]; then cp ~/code_server/gitconfig ~/.gitconfig; fi && \ # Add tmux config if [ ! -f ~/.tmux.conf ]; then cp ~/code_server/tmux.conf ~/.tmux.conf; fi && \ -# Add path +# restore default .bashrc +sudo cp /etc/skel/.bashrc ~/.bashrc + +# Add path to .bashrc echo "export PATH=\$PATH:~/.local/bin:~/.cargo/bin" >> ~/.bashrc echo "eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)" >> ~/.bashrc