Add missing tests

This commit is contained in:
Rodolphe Bréard 2024-12-15 18:42:25 +01:00
parent 6134356496
commit 9846fcab71
Signed by: rodolphe
SSH key fingerprint: SHA256:3rodCKnk1MUOfSlIKY0nHbBtvFyQx4EqjS+JIy69lN0

View file

@ -8,7 +8,7 @@ bindkey "^[3;5~" delete-char
# Command completion
autoload -U compinit
compinit -d "$COMPDIR/.zcompdump"
[ -f "$COMPDIR/.zcompdump" ] && compinit -d "$COMPDIR/.zcompdump"
# Prompt
if [ -f "/usr/bin/liquidprompt" ]; then
@ -60,7 +60,7 @@ hash zoxide 2>/dev/null && eval "$(zoxide init zsh)"
#
# Example:
# sudo archlinux-java set java-13-openjdk
export JAVA_HOME="/usr/lib/jvm/default"
[ -d "/usr/lib/jvm/default" ] && export JAVA_HOME="/usr/lib/jvm/default"
# Exit with a success status
true