mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 02:08:37 +08:00
parent
f7d9dae12e
commit
563c0708ab
|
@ -58,7 +58,7 @@ function setup_using_base_dir() {
|
||||||
|
|
||||||
|
|
||||||
function setup_using_debian_package() {
|
function setup_using_debian_package() {
|
||||||
(( $+command[dpkg] )) && dpkg -s fzf &> /dev/null
|
(( $+commands[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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user