From 4cd8e8355d604eea25684efb02ab0286fe1dcb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Tue, 2 Aug 2022 17:28:05 +0200 Subject: [PATCH] Add Debian's path for liquidprompt --- .bashrc | 3 +++ .config/zsh/.zshrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.bashrc b/.bashrc index f9ad759..b688fbb 100644 --- a/.bashrc +++ b/.bashrc @@ -30,6 +30,9 @@ export DEBFULLNAME="$USER_NICKNAME" if [ -f "/usr/bin/liquidprompt" ]; then unset PROMPT_COMMAND . "/usr/bin/liquidprompt" +elif [ -f "/usr/share/liquidprompt/liquidprompt" ]; then + unset PROMPT_COMMAND + . "/usr/share/liquidprompt/liquidprompt" elif [ -f "$HOME/liquidprompt/liquidprompt" ]; then unset PROMPT_COMMAND . "$HOME/liquidprompt/liquidprompt" diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index ae0366a..0f5d203 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -14,6 +14,9 @@ compinit -d "$COMPDIR/.zcompdump" if [ -f "/usr/bin/liquidprompt" ]; then unset PROMPT_COMMAND . "/usr/bin/liquidprompt" +elif [ -f "/usr/share/liquidprompt/liquidprompt" ]; then + unset PROMPT_COMMAND + . "/usr/share/liquidprompt/liquidprompt" elif [ -f "$HOME/liquidprompt/liquidprompt" ]; then unset PROMPT_COMMAND . "$HOME/liquidprompt/liquidprompt"