Skip to content

Commit 5a90c68

Browse files
committed
Make the sgug-specific startup file an actual rc file so that aliases can be set there too.
1 parent bd3012d commit 5a90c68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sgugshell.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ export MANPATH=$SGUG_ROOT/man:/usr/share/catman/a_man:/usr/share/catman/g_man:/u
3939
export LC_ALL=C
4040

4141
export PS1='[sgugshell \u@\h \W]\$ '
42-
# If ~/.sgug_bashrc exists, source it.
43-
[ -e $HOME/.sgug_bashrc ] && source $HOME/.sgug_bashrc
42+
# If ~/.sgug_bashrc exists, use that as our init file.
43+
[ -e $HOME/.sgug_bashrc ] && exec bash --rcfile $HOME/.sgug_bashrc -i
4444
exec bash --norc -i

0 commit comments

Comments
 (0)