mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
feat(fzf): add skip-dpkg flag to avoid some regressions
See https://github.com/ohmyzsh/ohmyzsh/pull/11122#issuecomment-1399607430
This commit is contained in:
@@ -60,8 +60,8 @@ function fzf_setup_using_base_dir() {
|
||||
|
||||
|
||||
function fzf_setup_using_debian() {
|
||||
if (( ! $+commands[dpkg] )); then
|
||||
# Not a debian based distro
|
||||
if (( ! $+commands[dpkg] )) || zstyle -t ':omz:plugins:fzf' skip-dpkg; then
|
||||
# Not a debian based distro
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user