mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Moving to symlink fixes the following issues: - App removes from launchers if you uninstall Nvim - Nvim launches in the correct terminal without invalid desktop entry Symlink setup moved to omarchy-nvim-setup (Ref: https://github.com/omacom-io/omarchy-pkgs/commit/bb7a0f4c1f78d428bbe53bc3af2c91a9c8a5de3b)
8 lines
319 B
Bash
8 lines
319 B
Bash
echo "Ensure nvim started from app launcher always starts nvim not $EDITOR"
|
|
|
|
if [ -f /usr/share/applications/nvim.desktop ]; then
|
|
rm ~/.local/share/applications/nvim.desktop
|
|
ln -s /usr/share/applications/nvim.desktop ~/.local/share/applications/nvim.desktop
|
|
update-desktop-database ~/.local/share/applications
|
|
fi
|