From 600e1adb8ba8f83da70bc2670f9d23b652f986c1 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sun, 29 Sep 2019 12:19:33 -0500 Subject: [PATCH] Patch up installer Was getting into some weird territory where ZSH syntax was creeping in. Reworked to be a pure shell script and updated the install instructions to reflect that. Also a small bit of additional clean up in there. Fixes #24 --- README.md | 2 +- install | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) mode change 100755 => 100644 install diff --git a/README.md b/README.md index ec351b0..3a6d280 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ master my life. My `dotfiles`, without me, are useless. Without my `dotfiles`, I am useless. ```shell -source <(curl -s https://raw.githubusercontent.com/joshtronic/dotfiles/master/install) +sh -c "$(curl -fsSL https://raw.githubusercontent.com/joshtronic/dotfiles/master/install)" ``` ![LeePaceCelebrate](http://i.giphy.com/Vc5x1pG5RFH3O.gif) diff --git a/install b/install old mode 100755 new mode 100644 index 659d663..e52fe78 --- a/install +++ b/install @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh if [ -z "$HOME" ]; then echo "Seems you're \$HOMEless :("; exit 1; fi @@ -86,13 +86,14 @@ for INDEX in ${!VIMPLUGS[*]}; do $GITCLONE "https://github.com/$VIMPLUG.git" "$HOME/.vim/pack/plugins/start/$PLUGDIR" done -curl -o "$HOME/.vim/colors/" https://raw.githubusercontent.com/altercation/vim-colors-solarized/master/colors/solarized.vim +curl -o "$HOME/.vim/colors/solarized.vim" https://raw.githubusercontent.com/altercation/vim-colors-solarized/master/colors/solarized.vim cd "$HOME" || exit rm -f "${HOME}/.zcompdump*" # Required to kill the terminal's border in GNOME 3.32+ gsettings set org.gnome.Terminal.Legacy.Settings headerbar "@mb false" +echo echo "If this is your first time, you should restart GNOME" echo