BusyBox doesn't support ln -r
This commit is contained in:
parent
e6767bd12a
commit
46a80a0e45
10
install.zsh
10
install.zsh
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
link="ln -sr"
|
link="ln -s"
|
||||||
rm="rm -rf"
|
rm="rm -rf"
|
||||||
|
|
||||||
function uninstall {
|
function uninstall {
|
||||||
@ -13,10 +13,10 @@ function uninstall {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function install {
|
function install {
|
||||||
eval $link ".emacs.d" "$HOME/.emacs.d"
|
eval $link "$PWD/.emacs.d" "$HOME/.emacs.d"
|
||||||
eval $link ".zshrc" "$HOME/.zshrc"
|
eval $link "$PWD/.zshrc" "$HOME/.zshrc"
|
||||||
eval $link ".tmux.conf" "$HOME/.tmux.conf"
|
eval $link "$PWD/.tmux.conf" "$HOME/.tmux.conf"
|
||||||
eval $link ".config/nvim" "$HOME/.config/nvim"
|
eval $link "$PWD/.config/nvim" "$HOME/.config/nvim"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ "$1" == "uninstall" ]]; then
|
if [[ "$1" == "uninstall" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user