Print which files are being loaded

This commit is contained in:
Anthony Rose 2022-08-23 13:18:08 +01:00
parent a94cc10f72
commit 7bba951c6f
3 changed files with 6 additions and 0 deletions

View file

@ -8,6 +8,8 @@ case "$-" in
;;
esac
echo "[ Reading \"$HOME/.bashrc\" ]"
if [ -f /etc/bashrc ]
then
. /etc/bashrc

View file

@ -1,8 +1,10 @@
#!/bin/sh
if [ -n "$_acp_ignore_shrc" ]
then
echo "[ Ignoring \"$HOME/.shrc\" ]"
return 1
fi
echo "[ Reading \"$HOME/.shrc\" ]"
case "$-" in
*i*)

View file

@ -8,6 +8,8 @@ case "$-" in
;;
esac
echo "[ Reading \"$HOME/.zshrc\" ]"
if [ -f /etc/zshrc ]
then
. /etc/zshrc