ソースを参照

cleaned the code

pull/18/head
Simon Marache-Francisco 15年前
コミット
904fc8b744
1個のファイルの変更3行の追加9行の削除
  1. +3
    -9
      _j

+ 3
- 9
_j ファイルの表示

@ -4,14 +4,8 @@ cur=${words[2, -1]}
ret=$(autojump --completion "${cur[*]}")
#echo "complete on " ${cur[*]}
if [ "$ret" != "" ]; then # if at least one answer
#if [ $( echo "$ret" | wc -l ) -eq 1 ]; then # Only one answer
# echo $ret
#else # several answers
for i in $(echo "$ret"); do
compadd -U $i
done
#fi
for i in $(echo "$ret"); do
compadd -U $i # add all of them as possible completion
done
fi

読み込み中…
キャンセル
保存