From 46a80a0e450de0574d25bb07bfa8d0fbeadbe986 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Sat, 23 Jun 2018 19:45:51 -0700 Subject: [PATCH] BusyBox doesn't support `ln -r` --- install.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.zsh b/install.zsh index def5200..982f2f3 100755 --- a/install.zsh +++ b/install.zsh @@ -2,7 +2,7 @@ set -e -link="ln -sr" +link="ln -s" rm="rm -rf" function uninstall { @@ -13,10 +13,10 @@ function uninstall { } function install { - eval $link ".emacs.d" "$HOME/.emacs.d" - eval $link ".zshrc" "$HOME/.zshrc" - eval $link ".tmux.conf" "$HOME/.tmux.conf" - eval $link ".config/nvim" "$HOME/.config/nvim" + eval $link "$PWD/.emacs.d" "$HOME/.emacs.d" + eval $link "$PWD/.zshrc" "$HOME/.zshrc" + eval $link "$PWD/.tmux.conf" "$HOME/.tmux.conf" + eval $link "$PWD/.config/nvim" "$HOME/.config/nvim" } if [[ "$1" == "uninstall" ]]; then