Update for profile login script
This commit is contained in:
2
custom_login.sh
Executable file
2
custom_login.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
cd ~/.zshconfig/
|
||||
git pull
|
||||
@@ -73,8 +73,8 @@ ln -s ~/.zshconfig/htoprc .config/htop/htoprc
|
||||
ln -s ~/.zshconfig/p10k.zsh .p10k.zsh
|
||||
if [ "$(uname)" != "Darwin" ]; then
|
||||
ln -s ~/.zshconfig/nanorc /etc/nanorc
|
||||
ln -s ~/.zshconfig/login.sh /etc/profile.d/login.sh
|
||||
chmod +x /etc/profile.d/login.sh
|
||||
ln -s ~/.zshconfig/custom_login.sh /etc/profile/custom_login.sh
|
||||
chmod +x /etc/profile/login.sh
|
||||
else
|
||||
echo MacOS found - No linking of Nanorc needed.
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user