bash - Sourcing .bashrc from .profile not working -
i have many environment variables set 'export' in ~/.bashrc. .profile sources .bashrc with
source /home/doriad/.bashrc
however, qtcreator doesn't seem know these environment variables. if, instead, put exports directly in .profile, qtcreator has them correctly. suggestions on i'm doing wrong here?
thanks providing .profile , .bashrc. cause found in .bashrc
:
# if not running interactively, don't case $- in *i*) ;; *) return;; esac
in non-interactive mode, .bashrc
return, skipping export below that.
Comments
Post a Comment