Drop Lazydocker from new installs (#14230)
* Drop Lazydocker from new installs * Preserve Lazydocker during Quattro upgrades * Remove Lazydocker from the manual
This commit is contained in:
1 parent
454b67d95f
commit
5657a91f8d
14 files changed
+80
-23
No files matched your search
@@ -175,6 +175,22 @@ if grep -Fq $'SUPER + CTRL + X Toggle dictation' <<<"$missing_voxtype_output"; t
|
||||
fi
|
||||
pass "missing Voxtype skips dictation bindings"
|
||||
|
||||
# Lazydocker is optional on new installs, while existing installs keep the hotkey.
|
||||
lazydocker_bin="$tmpdir/lazydocker-bin"
|
||||
mkdir -p "$lazydocker_bin"
|
||||
touch "$lazydocker_bin/lazydocker"
|
||||
chmod +x "$lazydocker_bin/lazydocker"
|
||||
lazydocker_output=$(PATH="$lazydocker_bin:$PATH" run_application_bindings "$fresh_home")
|
||||
grep -Fqx $'SUPER + SHIFT + D\tDocker' <<<"$lazydocker_output" ||
|
||||
fail "installed Lazydocker keeps its Docker shortcut"
|
||||
pass "installed Lazydocker keeps its Docker shortcut"
|
||||
|
||||
missing_lazydocker_output=$(PATH="$missing_bin" run_application_bindings "$fresh_home")
|
||||
if grep -Fq $'SUPER + SHIFT + D\tDocker' <<<"$missing_lazydocker_output"; then
|
||||
fail "missing Lazydocker skips its Docker shortcut"
|
||||
fi
|
||||
pass "missing Lazydocker skips its Docker shortcut"
|
||||
|
||||
# The Grave shortcuts are aliases, so the original SUPER + S pair has to keep
|
||||
# working alongside them.
|
||||
scratchpad_home="$tmpdir/scratchpad-home"
|
||||
|
||||
Reference in new issue
Block a user