diff --git a/izebra-linux-oneshot.sh b/izebra-linux-oneshot.sh index 8c2b68a..2fe606a 100644 --- a/izebra-linux-oneshot.sh +++ b/izebra-linux-oneshot.sh @@ -17,8 +17,8 @@ sudo apt update #install fish and copy config file to root and all users under /home/ sudo apt install fish -y wget $fishconfig -P "$HOME/.config/fish/config.fish" -for homedir in /home/*; do - sudo cp $HOME/.config/fish/config.fish "$homedir/.config/fish/config.fish"; + for homedir in /home/*; do + sudo cp -r $HOME/.config/fish/config.fish "$homedir/.config/fish/"; done #install pyenv @@ -28,7 +28,7 @@ curl https://pyenv.run | bash curl -sS https://starship.rs/install.sh | sh wget $starshipconfig -P "$HOME/.config/starship.toml" for homedir in /home/*; do - sudo cp $HOME/.config/starship.toml "$homedir/.config/starship.toml"; + sudo cp -r $HOME/.config/starship.toml "$homedir/.config/"; done