Make omarchy-launch-editor check that setted $EDITOR exists (#3072)
This commit is contained in:
1 parent
bfeb3a1e65
commit
f76ba69f70
1 file changed
+3
-1
@@ -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" "$@"
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user