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