浏览代码

Bail on completion init if we're not an interactive shell

Based on the approach by @imajes
pull/360/head^2
richo 14 年前
父节点
当前提交
65f0be0c20
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      completions/rbenv.zsh

+ 4
- 0
completions/rbenv.zsh 查看文件

@ -1,3 +1,7 @@
if [[ ! -o interactive ]]; then
return
fi
compctl -K _rbenv rbenv
_rbenv() {

正在加载...
取消
保存