对fish的支持和补全#264
Open
Czy014 wants to merge 3 commits into
Open
Conversation
Author
|
有3个commit,若需要sqush也可以调整 |
This file contains hidden or 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
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.
很抱歉重新开了个PR,之前的PR #258 在我修改分支后自动关闭了。我调整了一下PR请求的分支,方便Sync你项目的master分支。
针对你提出的一些问题我进行了修改,主要是提到的
clashproxy off/clashctl proxy off的行为一致性问题:scripts/core/alias.sh相对master不再有 diff。clashproxy off已对齐 Bash/Zsh,走clashctl proxy off,不会关闭整个 runtime。clashctl proxy on/off已对齐 Bash/Zsh:proxy on只开启 proxy 接管并同步当前 shell proxy 环境;proxy off只关闭 proxy 接管并清理当前 shell proxy 环境;clashctl off。clashctl on的失败兜底逻辑已补齐为 Bash/Zsh 同款:当clashctl on返回非 0 时,会尝试通过proxy on同步当前 shell。TMPDIR未设置时临时文件路径可能展开到/clashon.XXXXXX的问题。