diff --git a/common/apps/lsd.sh b/common/apps/lsd.sh index 9ab8d87..9a9663f 100644 --- a/common/apps/lsd.sh +++ b/common/apps/lsd.sh @@ -14,5 +14,5 @@ install_lsd() { wget https://github.com/Peltoche/lsd/releases/download/0.19.0/lsd_0.19.0_amd64.deb sudo dpkg -i lsd_0.19.0_amd64.deb sudo rm lsd_0.19.0_amd64.deb - sudo echo "alias ls='lsd'" >>/home/*/.bashrc + sudo echo "alias ls='lsd'" >>/etc/bash.bashrc } diff --git a/common/apps/neofetch.sh b/common/apps/neofetch.sh index 329e8b7..f4aa24e 100644 --- a/common/apps/neofetch.sh +++ b/common/apps/neofetch.sh @@ -3,5 +3,9 @@ install_neofetch() { echo "Installing neofetch" sudo apt-get install neofetch -y - sudo echo "neofetch" >>/home/*/.bashrc + sudo echo ` + if [ $USER != "root" ] then + neofetch + fi + ` >>/etc/bash.bashrc } diff --git a/users/edraft/scripts/server_installation.sh b/users/edraft/scripts/server_installation.sh index aa8370a..8efedba 100644 --- a/users/edraft/scripts/server_installation.sh +++ b/users/edraft/scripts/server_installation.sh @@ -11,7 +11,7 @@ source $PWD/common/apps/neofetch.sh source $PWD/common/apps/trash-cli.sh update -default_install +first_install install_git install_lsd diff --git a/users/edraft/scripts/software_dev_installation.sh b/users/edraft/scripts/software_dev_installation.sh index 95d1484..de46e92 100644 --- a/users/edraft/scripts/software_dev_installation.sh +++ b/users/edraft/scripts/software_dev_installation.sh @@ -3,7 +3,7 @@ source $PWD/common/scripts/update.sh source $PWD/common/apps/snap/pycharm.sh -source $PWD/common/apps/snap/vscode.sh +source $PWD/common/apps/vscode.sh update install_pycharm