Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita8ecfc7

Browse files
authored
Make zsh tab completion more resilient against user's shell configuration (#1422)
Ensure a zsh user's prior shell options don't interfere with indexing into an array of arguments
1 parentc4395e5 commita8ecfc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎completions/rbenv.zsh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ _rbenv() {
88
local words completions
99
read -cA words
1010

11+
emulate -L zsh
12+
1113
if ["${#words}"-eq 2 ];then
1214
completions="$(rbenv commands)"
1315
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp