Fix unquoted variables in all shell scripts to prevent word splitting
Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>
This commit is contained in:
@@ -17,16 +17,16 @@ stow --version
|
||||
|
||||
root_dir=${DOTFILES:-$(dirname "$(dirname "$(dirname "$(realpath "$0")")")")}
|
||||
|
||||
rm -f $HOME/.bash_profile
|
||||
rm -f $HOME/.bashrc
|
||||
rm -f $HOME/.gitconfig
|
||||
rm -f $HOME/.profile
|
||||
rm -f $HOME/.zshrc
|
||||
rm -f $HOME/.p10k.zsh
|
||||
rm -f $HOME/.ssh/config
|
||||
rm -f "$HOME/.bash_profile"
|
||||
rm -f "$HOME/.bashrc"
|
||||
rm -f "$HOME/.gitconfig"
|
||||
rm -f "$HOME/.profile"
|
||||
rm -f "$HOME/.zshrc"
|
||||
rm -f "$HOME/.p10k.zsh"
|
||||
rm -f "$HOME/.ssh/config"
|
||||
|
||||
mkdir -p $HOME/.config
|
||||
mkdir -p $HOME/.ssh
|
||||
mkdir -p "$HOME/.config"
|
||||
mkdir -p "$HOME/.ssh"
|
||||
|
||||
stow --dir="$root_dir/files" --target="$HOME" home
|
||||
stow --dir="$root_dir/files" --target="$HOME/.config" dot-config
|
||||
|
||||
Reference in New Issue
Block a user