From acec706874ad8a59ba75b5784848f9bca1dce6e6 Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 6 Apr 2015 16:47:41 +0200 Subject: Quote paths to honor whitespaces in them --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 1a84e69..2636c86 100755 --- a/install.sh +++ b/install.sh @@ -6,19 +6,19 @@ root=$(pwd) git submodule update --init # [zsh] -ln -sf $root/shell/_zshrc $HOME/.zshrc -ln -sfT $root/shell/_oh-my-zsh $HOME/.oh-my-zsh +ln -sf "$root/shell/_zshrc" "$HOME/.zshrc" +ln -sfT "$root/shell/_oh-my-zsh" "$HOME/.oh-my-zsh" # [emacs] -ln -sfT $root/dotEmacs $HOME/.emacs.d +ln -sfT "$root/dotEmacs" "$HOME/.emacs.d" # [vim] -ln -sf $root/shell/_vimrc $HOME/.vimrc +ln -sf "$root/shell/_vimrc" "$HOME/.vimrc" # [git] -ln -sf $root/shell/_gitconfig $HOME/.gitconfig +ln -sf "$root/shell/_gitconfig" "$HOME/.gitconfig" # [tmux] -ln -sf $root/shell/_tmux.conf $HOME/.tmux.conf +ln -sf "$root/shell/_tmux.conf" "$HOME/.tmux.conf" echo "Finished installing dotfiles" -- cgit v1.2.3-70-g09d2