diff --git a/tforgione.sh b/tforgione.sh index da7490a..2fd1528 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -265,6 +265,10 @@ debug() { info "should install neovim" fi + if [ $should_configure_neovim -eq 1 ]; then + info "should configure neovim" + fi + if [ $should_install_rust -eq 1 ]; then info "should install rust" fi @@ -273,10 +277,18 @@ debug() { info "should install python" fi + if [ $should_configure_python -eq 1 ]; then + info "should configure python" + fi + if [ $should_install_nodejs -eq 1 ]; then info "should install nodejs" fi + if [ $should_configure_nodejs -eq 1 ]; then + info "should configure nodejs" + fi + if [ $should_install_hyprland -eq 1 ]; then info "should install hyprland" fi @@ -353,7 +365,9 @@ run() { if [ $should_install_neovim ]; then # Install neovim from github to get latest version curl -L https://github.com/neovim/neovim/releases/download/stable/nvim-linux-x86_64.tar.gz -o tmp.tar.gz - sudo tar xf tmp.tar.gz -C / --strip-components=1 + sudo mkdir -p /opt/nvim + sudo tar xf tmp.tar.gz -C /opt/nvim --strip-components=1 + sudo ln -s /opt/nvim/bin/nvim /usr/bin/nvim rm tmp.tar.gz fi