Add info messages to scripts, fix early exit
This commit is contained in:
@@ -5,6 +5,8 @@ exit 0
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo "Setting ZSH as default..."
|
||||||
|
|
||||||
ZSH_PATH="$(which zsh)"
|
ZSH_PATH="$(which zsh)"
|
||||||
|
|
||||||
if !(grep -q "^$ZSH_PATH$" /etc/shells;) then
|
if !(grep -q "^$ZSH_PATH$" /etc/shells;) then
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ exit 0
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo "Installing Neovim..."
|
||||||
|
|
||||||
SRC_DIR="${HOME}/apps/neovim"
|
SRC_DIR="${HOME}/apps/neovim"
|
||||||
BIN_DIR="${HOME}/.local"
|
BIN_DIR="${HOME}/.local"
|
||||||
BUILD_TYPE="Debug"
|
BUILD_TYPE="Debug"
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
exit 0
|
|
||||||
{{ if eq .chezmoi.osRelease.id "nixos" }}
|
{{ if eq .chezmoi.osRelease.id "nixos" }}
|
||||||
exit 0
|
exit 0
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo "Setting up age key..."
|
||||||
|
|
||||||
KEY_DIR="$HOME/.config/chezmoi"
|
KEY_DIR="$HOME/.config/chezmoi"
|
||||||
KEY_FILE="$KEY_DIR/key.txt"
|
KEY_FILE="$KEY_DIR/key.txt"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user