Skip to content

Commit

Permalink
hack around screen behaving differently wrt login shell on different …
Browse files Browse the repository at this point in the history
…systems.
  • Loading branch information
coreyoconnor committed Mar 20, 2016
1 parent b167db0 commit 6df9cb5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bash_profile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
source $HOME/.bashrc
if [[ -z $SCREENRC_HACK ]] ; then
source $HOME/.bashrc
fi

if [[ -f ${RCS_PRIVATE_DIR}/profile_private ]] ; then
source ${RCS_PRIVATE_DIR}/profile_private
Expand Down
5 changes: 5 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ export EDITOR=vim

export P4CONFIG=${HOME}/.p4settings
export SBT_OPTS=-XX:MaxPermSize=256m

if [[ -z $SCREENRC_HACK && -n $STY ]] ; then
export SCREENRC_HACK=HACK
source ${HOME}/.bash_profile
fi

0 comments on commit 6df9cb5

Please sign in to comment.