diff --git a/README.md b/README.md index 9647391..f68538c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ During the installation you can configure git by embedded configurator: - code signing ```sh -sh <(curl https://ivabus.dev/dotfiles) +curl iva.bz/d | sh ``` ### Upgrading dotfiles @@ -36,4 +36,4 @@ TODO: description ```sh sh <(curl https://ivabus.dev/env) -``` \ No newline at end of file +``` diff --git a/init b/init index 608d3c2..22ee567 100644 --- a/init +++ b/init @@ -1,9 +1,11 @@ #!/bin/sh +set -e if ! command -v git &> /dev/null then echo "git should be installed" exit 255 fi + git clone https://github.com/ivabus/dotfiles $HOME/.dotfiles exec sh $HOME/.dotfiles/tools/install.sh < /dev/tty