Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
f56b6788
Unverified
Commit
f56b6788
authored
Oct 15, 2019
by
Marc Cornellà
Committed by
GitHub
Oct 15, 2019
Browse files
fzf: check for dpkg before checking for fzf in debian
Fixes #8253 Co-authored-by:
Mariusz B
<
mb@binary-offensive.com
>
parent
52f58785
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/fzf/fzf.plugin.zsh
View file @
f56b6788
...
@@ -58,7 +58,7 @@ function setup_using_base_dir() {
...
@@ -58,7 +58,7 @@ function setup_using_base_dir() {
function
setup_using_debian_package
()
{
function
setup_using_debian_package
()
{
dpkg
-s
fzf &> /dev/null
((
$+
command
[
dpkg]
))
&&
dpkg
-s
fzf &> /dev/null
if
((
$?
))
;
then
if
((
$?
))
;
then
# Either not a debian based distro, or no fzf installed. In any case skip ahead
# Either not a debian based distro, or no fzf installed. In any case skip ahead
return
1
return
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment