Make commands more resilient
This commit is contained in:
@@ -4,6 +4,8 @@ set -e
|
||||
# Pick a preconfigured theme
|
||||
FONT=$(gum choose "Cascadia Mono" "Fira Mono" "JetBrains Mono" "Meslo" | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
|
||||
|
||||
[ ! -n "$FONT" ] && exit 0
|
||||
|
||||
if [ "$FONT" == "cascadia-mono" ]; then
|
||||
NERD_FONT="CaskaydiaMono Nerd Font"
|
||||
elif [ "$FONT" == "fira-mono" ]; then
|
||||
|
Reference in New Issue
Block a user