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
|
||||
|
||||
echo "[ Reading \"$HOME/.bashrc\" ]"
|
||||
|
||||
if [ -f /etc/bashrc ]
|
||||
then
|
||||
. /etc/bashrc
|
||||
|
|
|
@ -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*)
|
||||
|
|
|
@ -8,6 +8,8 @@ case "$-" in
|
|||
;;
|
||||
esac
|
||||
|
||||
echo "[ Reading \"$HOME/.zshrc\" ]"
|
||||
|
||||
if [ -f /etc/zshrc ]
|
||||
then
|
||||
. /etc/zshrc
|
||||
|
|
Loading…
Reference in a new issue