浏览代码

Disable shellcheck warning SC2086

master
Arun Prakash Jana 5 年前
父节点
当前提交
9d336b77fa
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      plugins/launch

+ 2
- 3
plugins/launch 查看文件

@@ -19,16 +19,15 @@
# Shell: POSIX compliant # Shell: POSIX compliant
# Author: Arun Prakash Jana # Author: Arun Prakash Jana


# shellcheck disable=SC2012
# shellcheck disable=SC2086 # shellcheck disable=SC2086


IFS=':' IFS=':'


get_selection() { get_selection() {
if which fzf >/dev/null 2>&1; then if which fzf >/dev/null 2>&1; then
ls -H $PATH | sort | fzf
{ IFS=:; ls -H $PATH; } | sort | fzy
elif which fzy >/dev/null 2>&1; then elif which fzy >/dev/null 2>&1; then
ls -H $PATH | sort | fzy
{ IFS=:; ls -H $PATH; } | sort | fzy
else else
exit 1 exit 1
fi fi


正在加载...
取消
保存