-
Notifications
You must be signed in to change notification settings - Fork 421
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
feat: new --cwd
parameter for the shell
command and fs.cwd()
API
#2060
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sxyazi
changed the title
feat: new
feat: new Dec 17, 2024
--cwd
parameter for the shell
command, and the ya.cwd()
function--cwd
parameter for the shell
command and fs.cwd()
function
sxyazi
changed the title
feat: new
feat: new Dec 17, 2024
--cwd
parameter for the shell
command and fs.cwd()
function--cwd
parameter for the shell
command and fs.cwd()
API
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Dec 21, 2024
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [sxyazi/yazi](https://github.com/sxyazi/yazi) | patch | `v0.4.1` -> `v0.4.2` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>sxyazi/yazi (sxyazi/yazi)</summary> ### [`v0.4.2`](https://github.com/sxyazi/yazi/releases/tag/v0.4.2) [Compare Source](sxyazi/yazi@v0.4.1...v0.4.2) This is a quick patch release with 3 fixes: - Fixed an issue where switching directories in Yazi didn't update the CWD, causing issues with features that depend on the CWD (like terminal splitting and `cd --interactive` path completion). - Fixed a bug where the UI wouldn't refresh when returning to Yazi from an external blocking process (like a shell) while in an empty directory. - Fixed an issue where the preview wouldn't update after sorting directories when using the [Folder-specific rules](https://yazi-rs.github.io/docs/tips/#folder-rules) tip. Here are some new features: - Added support for a large number of new archive formats for extraction, previewing, and filetype highlighting in sxyazi/yazi#1926 (thanks to [@​Integral-Tech](https://github.com/Integral-Tech)). - Added a new temporary option `_v4_suppress_deprecation_warnings` in [#​2027](sxyazi/yazi#2027) to suppress all deprecation warnings as a workaround for the transition to version 0.4: ```toml ``` ### yazi.toml \[manager] \_v4\_suppress_deprecation_warnings = true - Added 2 new Lua APIs - `fs.cwd()` - get the current working directory - `fs.create()` - create a directory (Thanks to @​hankertrix) #### What's Changed * fix: interactive `cd` autocomplete doesn't follow the latest `CWD` changes by @​sxyazi in sxyazi/yazi#2025 * feat: new option to suppress 0.4 deprecation warnings by @​sxyazi in sxyazi/yazi#2027 * fix: offset cursor shift when deleting multiple files in bulk by @​sxyazi in sxyazi/yazi#2030 * chore: bump version to 0.4.2 by @​sxyazi in sxyazi/yazi#2031 * fix: choose a more conservative `macro_workers` value to ensure concurrency safety with certain USB flash drives by @​sxyazi in sxyazi/yazi#2040 * feat: support for Android platform in the `for` qualifier of opener by @​sxyazi in sxyazi/yazi#2041 * fix: set the current working directory in a thread-safe way by @​sxyazi in sxyazi/yazi#2043 * fix: `allow-passthrough` must be set to `on` to prevent `tmux` from forwarding the real terminal's response to the inactive pane by @​sxyazi in sxyazi/yazi#2052 * fix: pass through `show_hidden` when building default `Files` by @​sxyazi in sxyazi/yazi#2057 * fix: use a less intrusive `DSR` instead of `DA1` workaround to forward terminal responses twice in `tmux` by @​sxyazi in sxyazi/yazi#2058 * feat: new `--cwd` parameter for the `shell` command and `fs.cwd()` API by @​sxyazi in sxyazi/yazi#2060 * feat: allow `noop` for single-key chords by removing the mixing length limit by @​sxyazi in sxyazi/yazi#2064 * ci: add riscv64gc-unknown-linux-gnu target by @​Integral-Tech in sxyazi/yazi#2067 * fix: missing a render after resuming from an external blocking process by @​sxyazi in sxyazi/yazi#2071 * feat: add more supported archive formats to the preset config by @​Integral-Tech in sxyazi/yazi#1926 * feat: new `fs.create()` Lua API by @​hankertrix in sxyazi/yazi#2068 * fix: missing a hover after reordering from an external plugin by @​sxyazi in sxyazi/yazi#2072 **Full Changelog**: sxyazi/yazi@v0.4.1...v0.4.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43Ny4wIiwidXBkYXRlZEluVmVyIjoiMzkuNzcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.