From 0fb4c5da60fd801daec2ae98c2a322cd6978876a Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Tue, 9 Sep 2025 00:50:26 +0200 Subject: [PATCH] Fix message about uncommited dotfile-changes to use git instead of dated config-command --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 36a01bf..af87258 100644 --- a/.bashrc +++ b/.bashrc @@ -113,4 +113,4 @@ unset __bash_completion_dir [ -f /var/run/reboot-required ] && (>&2 echo -e "\n\033[01;31mReboot required to apply updates"'!'"\033[0m\n") # config changed notice -[ -n "$(config status --short)" ] && (>&2 echo -e "\n\033[01;33mCurrent configuration is not committed"'!'"\033[0m\nRun "'"'"\033[01mconfig status\033[0m"'"'" for further information\n") +[ -n "$(cd dotfiles && git status --short)" ] && (>&2 echo -e "\n\033[01;33mCurrent configuration is not committed"'!'"\033[0m\nSwitch to ~/dotfiles and run "'"'"\033[01mgit status\033[0m"'"'" for further information\n")