fix: keep Sublime on the editor menu and persist subl

A when: subl guard hid the row before install, which is how the editor
gets packaged. Map stored sublime_text to subl so an existing default
stays ticked, and update the default-apps tests for the PATH name.
This commit is contained in:
Taksh committed 2026-09-08 14:59:34 +05:30
1 parent 8c303495ac
commit bb13b55698
3 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@ omarchy-pkg-add|omarchy-pkg-aur-add)
firefox) command=firefox ;;
zen-browser-bin) command=zen-browser ;;
cursor-bin) command=cursor ;;
sublime-text-4) command=sublime_text ;;
sublime-text-4) command=subl ;;
vim) command=vim ;;
neovim) command=nvim ;;
esac
@@ -169,7 +169,7 @@ editor_cases=(
'code code editor:vscode'
'cursor cursor pkg:cursor-bin'
'zed zeditor editor:zed'
'sublime_text sublime_text pkg:sublime-text-4'
'sublime_text subl pkg:sublime-text-4'
'helix helix editor:helix'
'vim vim pkg:vim'
'emacs emacs editor:emacs'