Skip to content

"Force" flag for ya #2735

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

Open
2 of 3 tasks
hariganti opened this issue May 7, 2025 · 0 comments
Open
2 of 3 tasks

"Force" flag for ya #2735

hariganti opened this issue May 7, 2025 · 0 comments
Labels
feature New feature request

Comments

@hariganti
Copy link

yazi --debug output

Yazi
    Version: 25.4.8 (Arch Linux 2025-04-09)
    Debug  : false
    Triple : x86_64-unknown-linux-gnu (linux-x86_64)
    Rustc  : 1.86.0 (05f9846f 2025-03-31)

Ya
    Version: 25.4.8 (Arch Linux 2025-04-09)

Emulator
    TERM                : Some("wezterm")
    TERM_PROGRAM        : Some("WezTerm")
    TERM_PROGRAM_VERSION: Some("20250504-063133-dd3caaae")
    Brand.from_env      : Some(WezTerm)
    Emulator.detect     : Emulator { kind: Left(WezTerm), light: false, cell_size: Some((8, 18)) }

Adapter
    Adapter.matches    : Iip
    Dimension.available: WindowSize { rows: 38, columns: 286, width: 2288, height: 684 }

Desktop
    XDG_SESSION_TYPE           : Some("wayland")
    WAYLAND_DISPLAY            : Some("wayland-1")
    DISPLAY                    : Some(":0")
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: Some("29e2e59fdbab8ed2cc23a20e3c6043d5decb5cdc_1746498879_1206999384")
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL           : Some("/usr/bin/fish")
    EDITOR          : None
    VISUAL          : None
    YAZI_FILE_ONE   : None
    YAZI_CONFIG_HOME: None
    YAZI_ZOXIDE_OPTS: None
    FZF_DEFAULT_OPTS: Some("--ansi --cycle --multi --border --info=right --height=89% --marker=⋅ --layout=reverse --preview-label=\"F1: Preview | F2: Stat | F3: Toggle Wrap | F4: Rezize\" --preview-label-pos=-3:bottom --bind=backward-eof:abort --bind=\"alt-up:preview-up\" --bind=\"alt-down:preview-down\" --bind=\"F1:preview(_fzf_preview_file {})\" --bind=\"F2:preview(stat {})\" --bind=\"F3:toggle-preview-wrap\" --bind=\"F4:change-preview-window(80%|hidden|)\"")

Text Opener
    default     : Some(OpenerRule { run: "nano \"$@\"", block: true, orphan: false, desc: "nano", for_: None, spread: true })
    block-create: Some(OpenerRule { run: "nano \"$@\"", block: true, orphan: false, desc: "nano", for_: None, spread: true })
    block-rename: Some(OpenerRule { run: "nano \"$@\"", block: true, orphan: false, desc: "nano", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : No such file or directory (os error 2)
    tmux build flags   : enable-sixel=Unknown
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file          : 5.46
    ueberzugpp    : No such file or directory (os error 2)
    ffmpeg/ffprobe: 7.1.1 / 7.1.1
    pdftoppm      : 25.04.0
    magick        : 7.1.1-47
    fzf           : 0.61.3
    fd/fdfind     : 10.2.0 / No such file or directory (os error 2)
    rg            : 14.1.1
    chafa         : No such file or directory (os error 2)
    zoxide        : No such file or directory (os error 2)
    7zz/7z        : No such file or directory (os error 2) / 24.09
    jq            : 1.7.1

Clipboard
    wl-copy/paste: 2.2.1 / 2.2.1
    xclip        : No such file or directory (os error 2)
    xsel         : No such file or directory (os error 2)

Routine
    `file -bL --mime-type`: text/plain

Please describe the problem you're trying to solve

I would like to be able to "force" ya to be able to do things, like delete or upgrade plugins. If I modify a plugin's Lua, ya ceases to do practically anything, even when I want it do things like delete or upgrade plugins

Would you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

I would like a "force" flag, such as -f or --force

Additional context

Based on info from docs

Checklist

  • I have searched the existing issues/discussions
  • The latest nightly build doesn't already have this feature
@hariganti hariganti added the feature New feature request label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant