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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -