Skip to content

Commit 63b0069

Browse files
pre-commit-ci[bot]unixorn
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2ad6057 commit 63b0069

25 files changed

+30
-30
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- [Customization](#customization)
2020
- [A note on `lessfilter-fzf`](#a-note-on-lessfilter-fzf)
2121
- [Other FZF resources](#other-fzf-resources)
22+
- [Contributors](#contributors)
2223

2324
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
2425

bin/apt-fzf-search

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if has apt-cache; then
3232
fzf --multi --cycle --reverse --preview 'apt-cache show {1}' | \
3333
xargs -r sudo apt install -y
3434
else
35-
fail "Cannot find apt in $PATH.
36-
35+
fail "Cannot find apt in $PATH.
36+
3737
Are you sure you're on a Debian or Ubuntu system?"
38-
fi
38+
fi

bin/asdf-fzf-install

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ if has asdf; then
4949
asdf-install "$@"
5050
else
5151
fail "Can't find asdf in $PATH"
52-
fi
52+
fi

bin/asdf-fzf-uninstall

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ if has asdf; then
4747
asdf-remove "$@"
4848
else
4949
fail "Can't find asdf in $PATH"
50-
fi
50+
fi

bin/chrome-bookmark-browser

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ if ! has jq; then
5151
fail "$myname requires jq and can't find it in $PATH"
5252
fi
5353

54-
b "$@"
54+
b "$@"

bin/chrome-history

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# browse Chrome history, then open
3+
# browse Chrome history, then open
44

55
set -o pipefail
66
if [[ -n "$DEBUG" ]]; then
@@ -26,16 +26,16 @@ function has() {
2626
function cleanup() {
2727
if [[ -d "$SCRATCH_D" ]]; then
2828
rm -fr "$SCRATCH_D"
29-
fi
30-
}
29+
fi
30+
}
3131

3232
# Set up a working scratch directory
3333
SCRATCH_D=$(mktemp -d)
3434

3535
if [[ ! "$SCRATCH_D" || ! -d "$SCRATCH_D" ]]; then
3636
echo "Could not create temp dir"
3737
exit 1
38-
fi
38+
fi
3939

4040
trap cleanup EXIT
4141

@@ -65,4 +65,4 @@ if [[ -r "$chrome_history" ]]; then
6565
chrome-history "$@"
6666
else
6767
fail "Can't read $chrome_history"
68-
fi
68+
fi

bin/d-rm

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ if has docker; then
3333
drm "$@"
3434
else
3535
"Cannot find docker in $PATH"
36-
fi
36+
fi

bin/d-stop-container

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ if has docker; then
3737
d-stop-container "$@"
3838
else
3939
"Cannot find docker in $PATH"
40-
fi
40+
fi

bin/fzf-brew-cask-install

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ fzf-brew-cask-install() {
3939
fi
4040
}
4141
# shellcheck disable=SC2068
42-
fzf-brew-install $@
42+
fzf-brew-install $@

bin/fzf-brew-cask-uninstall

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ fzf-brew-cask-uninstall() {
4141
}
4242

4343
# shellcheck disable=SC2068
44-
fzf-brew-cask-uninstall $@
44+
fzf-brew-cask-uninstall $@

bin/fzf-brew-install

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ function fzf-brew-install(){
3535
}
3636

3737
# shellcheck disable=SC2068
38-
fzf-brew-install $@
38+
fzf-brew-install $@

bin/fzf-brew-uninstall

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ fzf-brew-uninstall() {
3333
}
3434

3535
# shellcheck disable=SC2068
36-
fzf-brew-uninstall $@
36+
fzf-brew-uninstall $@

bin/fzf-brew-update

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ brew-update-plugin() {
3434
}
3535

3636
# shellcheck disable=SC2068
37-
brew-update-plugin $@
37+
brew-update-plugin $@

bin/fzf-browse-pods

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ pods() {
7575

7676
check-dependencies
7777
# shellcheck disable=SC2119
78-
pods
78+
pods

bin/fzf-find-edit

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ else
4141
fi
4242

4343
# shellcheck disable=SC2068
44-
fzf-find-edit $@
44+
fzf-find-edit $@

bin/fzf-git-branch

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ function fzf-git-branch(){
4545
}
4646

4747
# shellcheck disable=SC2068
48-
fzf-git-branch $@
48+
fzf-git-branch $@

bin/fzf-grep-edit

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ else
5656
}
5757
fi
5858
# shellcheck disable=SC2068
59-
fzf-grep-edit $@
59+
fzf-grep-edit $@

bin/fzf-kill

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ fzf-kill() {
3737
}
3838

3939
# shellcheck disable=SC2068
40-
fzf-kill $@
40+
fzf-kill $@

bin/fzf-vscode

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ done < <(
7878
)
7979
if [ -n "${ARGLIST}" ]; then
8080
code ${NEW_WINDOW} ${ARGLIST}
81-
fi
81+
fi

bin/tm

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ if has tmux; then
3333
tm "$@"
3434
else
3535
fail "Can't find tmux in $PATH"
36-
fi
36+
fi

bin/tmux-kill

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ if has tmux; then
3636
tmuxkillf "$@"
3737
else
3838
fail "Can't find tmux in $PATH"
39-
fi
39+
fi

bin/tmux-search

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ if has tmux; then
3838
tm-search "$@"
3939
else
4040
fail "Can't find tmux in $PATH"
41-
fi
41+
fi

bin/vagrant-box-search

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ if [[ ! -r "$machine_index" ]]; then
4444
fail "Can't read $machine_index"
4545
fi
4646

47-
vagrant-search "$@"
47+
vagrant-search "$@"

completions/_fzf

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ _arguments \
5858
'--no-clear[Do not clear finder interface on exit.]' \
5959
'--sync[Synchronous search for multi-staged filtering.]' \
6060
'--version[Display version information and exit.]' \
61-
'-2[.]'
61+
'-2[.]'

fzf-settings.zsh

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ fi
1111
# Key bindings
1212
# ------------
1313
source "${FZF_PATH}/shell/key-bindings.zsh"
14-

0 commit comments

Comments
 (0)