diff --git a/common/neovim/colors/base16-donokai.vim b/common/neovim/colors/base16-donokai.vim index 676c00e..3af3c64 120000 --- a/common/neovim/colors/base16-donokai.vim +++ b/common/neovim/colors/base16-donokai.vim @@ -1 +1 @@ -/Users/danielflanagan/.config/lytedev-dotfiles/common/colors/vim \ No newline at end of file +/home/daniel/.home/.config/lytedev-dotfiles/common/colors/vim \ No newline at end of file diff --git a/host/layer/nginx-user-public/dotfiles-setup.d.fish b/host/layer/nginx-user-public/dotfiles-setup.d.fish index 15ea258..437e87a 100644 --- a/host/layer/nginx-user-public/dotfiles-setup.d.fish +++ b/host/layer/nginx-user-public/dotfiles-setup.d.fish @@ -5,7 +5,15 @@ set h $argv[2] set c $argv[3] pushd (dirname $me) -sudo ln -s (pwd)/user-public-http.conf /etc/nginx/user-public-http.conf -sudo ln -s (pwd)/user-public-server.conf /etc/nginx/user-public-server.conf -sudo ln -s (pwd)/.nginx-autoindex-before.html /usr/share/nginx/html/.nginx-autoindex-before.html -sudo ln -s (pwd)/.nginx-autoindex-after.html /usr/share/nginx/html/.nginx-autoindex-after.html +function force_link + sudo rm -f "$argv[2]" + echo "Linking $argv[1] to $argv[2]" + sudo ln -s "$argv[1]" "$argv[2]" +end + +force_link (pwd)/user-public-http.conf /etc/nginx/user-public-http.conf +force_link (pwd)/user-public-server.conf /etc/nginx/user-public-server.conf +force_link (pwd)/.nginx-autoindex-before.html /usr/share/nginx/html/.nginx-autoindex-before.html +force_link (pwd)/.nginx-autoindex-after.html /usr/share/nginx/html/.nginx-autoindex-after.html + +echo 'Don\'t forget to include the nginx files in your config inside their respective blocks!'