Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion error: tail: invalid option -- 'r' #1658

Closed
brw opened this issue Feb 11, 2024 · 0 comments
Closed

Completion error: tail: invalid option -- 'r' #1658

brw opened this issue Feb 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@brw
Copy link

brw commented Feb 11, 2024

Describe the bug
fish shell completion gives an error when trying to complete version numbers

GNU tail does not have a -r option, BSD does. Basically the same as #1485, just a different command.

To Reproduce
On Linux (or macOS using GNU Coreutils) type mise install node@ or mise use node@ or any other mise command where you'd want to use a version number and press Tab

mise doctor output

mise version:
  2024.2.13 linux-x64 (196b8cd 2024-02-11)

build:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Sun, 11 Feb 2024 07:11:41 +0000
  Rust Version: rustc 1.76.0 (07dca489a 2024-02-04)
  Profile: release

shell:
  /usr/bin/fish
  fish, version 3.7.0

mise dirs:
  data: /home/bas/.local/share/mise
  config: /home/bas/.config/mise
  cache: /home/bas/.cache/mise
  state: /home/bas/.local/state/mise
  shims: /home/bas/.local/share/mise/shims

mise environment variables:
  MISE_SHELL=fish

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_tools = []
  experimental = false
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  plugin_autoupdate_last_check_duration = "7d"
  python_compile = false
  python_default_packages_file = "/home/bas/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  python_venv_auto_create = false
  raw = false
  trusted_config_paths = []
  quiet = false
  verbose = false
  yes = false
  ci = false
  debug = false
  trace = false
  log_level = "info"

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false


activated: yes
shims_on_path: no
config files:
  ~/.config/mise/config.toml

plugins:
  bun      https://github.com/cometkim/asdf-bun.git#e503786
  deno     (core)
  go       (core)
  java     (core)
  lua      https://github.com/Stratus3D/asdf-lua.git#36fae6e
  node     (core)
  python   (core)
  ruby     (core)
  usage    https://github.com/jdx/mise-usage.git#5eb0207

toolset:
  node@latest, lua@latest, bun@latest, usage@latest

No problems found

Additional context
Arch btw

~ 
❯ mise install node@tail: invalid option -- 'r'
Try 'tail --help' for more information.
tail: invalid option -- 'r'
Try 'tail --help' for more information.
@brw brw added the bug Something isn't working label Feb 11, 2024
@jdx jdx closed this as completed in 2822554 Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant