dded yes prompt
This commit is contained in:
parent
736a4fc29a
commit
533253e41c
@ -18,7 +18,7 @@ sudo apt update
|
|||||||
sudo apt install fish -y
|
sudo apt install fish -y
|
||||||
wget -O "$HOME/.config/fish/config.fish" $fishconfig
|
wget -O "$HOME/.config/fish/config.fish" $fishconfig
|
||||||
# Iterate over each user's home directory, including /root
|
# Iterate over each user's home directory, including /root
|
||||||
for homedir in /home/*; do
|
for homedir in /root /home/*; do
|
||||||
if [ -d "$homedir" ]; then
|
if [ -d "$homedir" ]; then
|
||||||
# Ensure .config directory exists
|
# Ensure .config directory exists
|
||||||
mkdir -p "$homedir/.config"
|
mkdir -p "$homedir/.config"
|
||||||
@ -39,10 +39,10 @@ done
|
|||||||
curl https://pyenv.run | bash
|
curl https://pyenv.run | bash
|
||||||
|
|
||||||
#Download starship and copy config file to root and all users under /home/
|
#Download starship and copy config file to root and all users under /home/
|
||||||
curl -sS https://starship.rs/install.sh | sh
|
curl -sS https://starship.rs/install.sh | yes | sh
|
||||||
wget -O "$HOME/.config/starship.toml" $starshipconfig
|
wget -O "$HOME/.config/starship.toml" $starshipconfig
|
||||||
# Iterate over each user's home directory, including /root
|
# Iterate over each user's home directory, including /root
|
||||||
for homedir in /home/*; do
|
for homedir in /root /home/*; do
|
||||||
if [ -d "$homedir" ]; then
|
if [ -d "$homedir" ]; then
|
||||||
# Ensure .config directory exists
|
# Ensure .config directory exists
|
||||||
mkdir -p "$homedir/.config"
|
mkdir -p "$homedir/.config"
|
||||||
|
Loading…
Reference in New Issue
Block a user