Print which files are being loaded
This commit is contained in:
parent
a94cc10f72
commit
7bba951c6f
3 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,8 @@ case "$-" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
echo "[ Reading \"$HOME/.bashrc\" ]"
|
||||||
|
|
||||||
if [ -f /etc/bashrc ]
|
if [ -f /etc/bashrc ]
|
||||||
then
|
then
|
||||||
. /etc/bashrc
|
. /etc/bashrc
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ -n "$_acp_ignore_shrc" ]
|
if [ -n "$_acp_ignore_shrc" ]
|
||||||
then
|
then
|
||||||
|
echo "[ Ignoring \"$HOME/.shrc\" ]"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
echo "[ Reading \"$HOME/.shrc\" ]"
|
||||||
|
|
||||||
case "$-" in
|
case "$-" in
|
||||||
*i*)
|
*i*)
|
||||||
|
|
|
@ -8,6 +8,8 @@ case "$-" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
echo "[ Reading \"$HOME/.zshrc\" ]"
|
||||||
|
|
||||||
if [ -f /etc/zshrc ]
|
if [ -f /etc/zshrc ]
|
||||||
then
|
then
|
||||||
. /etc/zshrc
|
. /etc/zshrc
|
||||||
|
|
Loading…
Reference in a new issue