Logo
Explore Help
Sign In
h/fish-shell
1
Fork 0
You've already forked fish-shell
mirror of https://github.com/fish-shell/fish-shell.git synced 2026-05-18 00:31:15 -03:00
Code Issues Packages Projects Releases Wiki Activity
Files
6bd4f52b0d410eafdae9958cdbd2b4b1f0191c4e
fish-shell/share/completions/exec.fish

3 lines
152 B
Fish
Raw Normal View History

Fix completion for builtins (with subcommands) Presently the completion engine ignores builtins that are part of the fish syntax. This can be a problem when completing a string that was based on the output of `commandline -p`. This changes completions to treat these builtins like any other command. This also disables generic (filename) completion inside comments and after strings that do not tokenize. Additionally, comments are stripped off the output of `commandline -p`. Fixes #5415 Fixes #2705
2019-10-29 13:32:26 +01:00
complete -c exec -n 'test (count (commandline -opc)) -eq 1' -s h -l help -d 'Display help and exit'
Make most subcommand completions take external commands only Also fix ssh completions which were broken by 277fca9c6a26600ce8dc7cb2a035d412a9476868.
2019-11-05 10:56:03 +01:00
complete -c exec -xa "(__fish_complete_subcommand)"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 64ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API