Added restoring of default .bashrc

This commit is contained in:
Christoffer Martinsson 2023-05-26 14:27:13 +02:00
parent b40534a236
commit 25ed0981f4

View File

@ -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