From cba2ca3b1cdbe1742d39190b5e50cab4189f626b Mon Sep 17 00:00:00 2001 From: gibbyb Date: Thu, 18 Dec 2025 20:35:11 +0000 Subject: [PATCH] Update & clean some stuff up --- .gitignore | 1 + config/dot/nvim/lazy-lock.json | 2 +- install | 21 ++++++++++++++++----- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index fe45d3f..38e7e11 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /config/bash/env # Ignore backups of old config files /config/old/** +/config/dot/nvim/lazy-lock.json diff --git a/config/dot/nvim/lazy-lock.json b/config/dot/nvim/lazy-lock.json index 671df17..f6dfcc4 100644 --- a/config/dot/nvim/lazy-lock.json +++ b/config/dot/nvim/lazy-lock.json @@ -1,5 +1,5 @@ { - "LuaSnip": { "branch": "master", "commit": "5a1e39223db9a0498024a77b8441169d260c8c25" }, + "LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" }, "avante.nvim": { "branch": "main", "commit": "80f7079556c6acf3d3effa13c22f0e4fd00bcffd" }, "barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" }, "cloak.nvim": { "branch": "main", "commit": "648aca6d33ec011dc3166e7af3b38820d01a71e4" }, diff --git a/install b/install index 1066b1b..08456ab 100755 --- a/install +++ b/install @@ -1,9 +1,20 @@ #!/usr/bin/env bash - source ~/.local/share/Panama/bin/ascii - # Set host name -read -p "What should the hostname be? " HOST_NAME -sudo hostnamectl set-hostname $HOST_NAME - +echo -e "Current hostname is: $(hostname)" +read -p "Do you want to change the hostname? [y/N]: " confirm_change +if [[ "$confirm_change" =~ ^[Yy]$ ]]; then + read -p "Hostname: " HOST_NAME + read -p "Set hostname to '$HOST_NAME'? [y/N]: " confirm_hostname + if [[ "$confirm_hostname" =~ ^[Yy]$ ]]; then + sudo hostnamectl set-hostname "$HOST_NAME" + echo "Hostname set to: $(hostname)" + else + echo "Hostname not changed." + fi +else + echo "Not changing hostname." + exit +fi +# Run scripts for script in ~/.local/share/Panama/setup/scripts/*; do source $script; done