Make omarchy-launch-editor check that setted $EDITOR exists (#3072)

This commit is contained in:
killeik
2025-11-02 22:28:41 +03:00
committed by GitHub
parent bfeb3a1e65
commit f76ba69f70

View File

@@ -1,6 +1,8 @@
#!/bin/bash
case "${EDITOR:-nvim}" in
omarchy-cmd-present "$EDITOR" || EDITOR=nvim
case "$EDITOR" in
nvim | vim | nano | micro | hx | helix)
exec setsid uwsm-app -- "$TERMINAL" -e "$EDITOR" "$@"
;;