Closed wesalvaro closed 2 years ago
Describe the bug When doing a launch on Mac, none of the @ replacements seem to work.
@
To Reproduce Steps to reproduce the behavior:
map cmd+d launch --hold echo "test: @active-kitty-window-id @cursor-x @cursor-y @selection "
test: @active-kitty-window-id @cursor-x @cursor-y @selection
Environment details
kitty 0.24.3 created by Kovid Goyal Darwin myhost.com 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64 ProductName: macOS ProductVersion: 12.2.1 BuildVersion: 21D62 Frozen: True Paths: kitty: /Applications/kitty.app/Contents/MacOS/kitty base dir: /Applications/kitty.app/Contents/Resources/kitty extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions system shell: /usr/local/bin/fish Loaded config files: /Users/redacted/.config/kitty/kitty.conf Config options different from defaults: allow_remote_control y bold_font FiraCode-Medium copy_on_select clipboard enable_audio_bell False font_family FiraCode-Retina font_features: {'FiraCode-Retina': ('+zero', '+onum')} font_size 13.0 italic_font FiraCode-Light macos_hide_from_tasks True symbol_map: U+e000 - U+f8ff → Symbols Nerd Font tab_activity_symbol tab_bar_edge 1 tab_bar_style powerline Added shortcuts: cmd+d → launch --hold echo "test: @active-kitty-window-id @cursor-x @cursor-y @selection " Changed shortcuts: ctrl+shift+enter → new_window_with_cwd Colors: background #0d0f18 color0 #222222 color1 #ff000f color10 #abe05a color11 #ffd141 color12 #0092ff color13 #9a5feb color14 #67ffef color2 #8ce00a color3 #ffb900 color4 #008df8 color5 #6c43a5 color6 #00d7eb color7 #ffffff color8 #444444 color9 #ff273f cursor #ff0017 foreground #fffaf3 selection_background #002a3a selection_foreground #0d0f18 Important environment variables seen by the kitty process: PATH /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin LANG en_US.UTF-8 SHELL /usr/local/bin/fish USER redacted
Additional context
They need to be separate command line arguments, only if an individual argument is one of the special strings is it replaced.
launch --hold echo test: @active-kitty-window-id @cursor-x @cursor-y @selection
Describe the bug When doing a launch on Mac, none of the
@
replacements seem to work.To Reproduce Steps to reproduce the behavior:
map cmd+d launch --hold echo "test: @active-kitty-window-id @cursor-x @cursor-y @selection "
test: @active-kitty-window-id @cursor-x @cursor-y @selection
Environment details
Additional context