diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-15 08:17:44 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-15 08:17:44 -0300 |
| commit | 65d54c64f1f52619e6e1c188c522e5bf0235f9ee (patch) | |
| tree | 0cc454f4a05f15957f60f39eba4b3e9433375690 /bash | |
| parent | scripts/ad-hoc/yt: ShellCheck (diff) | |
| download | dotfiles-65d54c64f1f52619e6e1c188c522e5bf0235f9ee.tar.gz dotfiles-65d54c64f1f52619e6e1c188c522e5bf0235f9ee.tar.xz | |
fzf.sh: ShellCheck
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/fzf.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bash/fzf.sh b/bash/fzf.sh index 24403394..1cfc0400 100644 --- a/bash/fzf.sh +++ b/bash/fzf.sh @@ -38,6 +38,7 @@ fzg() { if [ -n "$fn" ]; then f="$(echo "$fn" | cut -d: -f1)" n="$(echo "$fn" | cut -d: -f2)" + # shellcheck disable=2068 history -s fzgrep $@ history -s vi "+$n" "$f" vi "+$n" "$f" @@ -47,6 +48,7 @@ fzg() { f() { file="$(git ls-files | fzf-tmux --select-1 --exit-0 --query "$2" --preview 'cat {}')" if [ -n "$file" ]; then + # shellcheck disable=2068 history -s f $@ history -s "$1" "$file" "$1" "$file" |
