1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-27 15:37:29 +03:00
wezterm/assets
Magnus Groß e3a320eec0 Continue parsing cmdline arguments in the desktop file
In a56904e40d the desktop file was patched
to use "wezterm start" instead of "wezterm". As an unneeded addendum
that patch also included the unnecessary addition of ending command-line
parsing by passing the "--" option at the end.

As it turns out, some consumers of wezterm's desktop file want wezterm
to parse command line flags. For example KDE's kio passes the whole
cmdline via the "-e" flag, because it is widely used for most terminal
emulators as the primary mean of passing the cmdline.

To solve this we remove the unneeded "--" again, because we now also
support the "-e" option.
After all, all trailing arguments will automatically be parsed by
wezterm as the cmdline of the program to run.
The only sideeffect of this change is that we now cannot longer start
programs that share a name with a "wezterm start" option, for example if
the user has installed an executable at /usr/bin/--always-new-process
then this edge case will not work anymore.
Given that this would be an extremely unlikely scenario, it makes more
sense to improve compatibility by supporting the usecase of passing the
cmdline with the "-e" flag.

refs: #2622
refs: #2271
refs: https://bugs.kde.org/show_bug.cgi?id=459616
2022-11-04 06:32:32 -07:00
..
colors colorschemes: expand to include Gogh color schemes 2022-07-10 13:32:17 -07:00
flatpak flatpak: refine build; install more executables in image 2022-08-03 07:04:31 -07:00
fonts fonts: update Symbols Nerd Font Mono 2022-09-17 06:12:29 -07:00
icon logo: refine appearance a bit more 2021-12-29 18:14:26 -07:00
macos/WezTerm.app logo: refine appearance a bit more 2021-12-29 18:14:26 -07:00
shell-completion deps: update to clap 4 2022-10-04 08:55:31 -07:00
shell-integration avoid modern bash feature when testing for BLE_VERSION 2022-01-22 08:07:50 -07:00
windows update conpty to v1.14.2281.0 release 2022-08-29 08:32:08 -07:00
open-wezterm-here quote pwd in open-wezterm-here 2022-07-22 06:46:21 -07:00
wezterm-nautilus.py feat: support Natilus 4.0 API 2022-10-03 08:37:09 -07:00
wezterm.appdata.xml add pane select screenshot to appstream data 2022-08-21 13:15:38 -07:00
wezterm.desktop Continue parsing cmdline arguments in the desktop file 2022-11-04 06:32:32 -07:00