.bash_profile isn't evaluated when a command is executed

This forum is for general discussions about bugs. Actual bugs should be reported to the bug tracker to allow them to be properly processed and followed up.

.bash_profile isn't evaluated when a command is executed

Postby wandro » Fri Nov 16, 2007 10:26 pm

I have defined several aliases in my .bashrc / .bash_profile files (e.g. alias ll='ls -l'). But if I try to execute these using the command execution feature in the file menu of muCommander then the shell reports "unknown command". From this I conclude that .bash_profile isn't evaluated in this case. (In a terminal window it works, however.)

I have installed muCommander v.08 on an iMac under Mac OS X Leopard.

I haven't changed the default shell settings "/bin/sh -l -c", but the command "echo $SHELL" outputs "/bin/bash". The "sh" man pages say that /bin/sh uses .bashrc / .bash_profile.

____________________________________________________________

OK, In the meantime I've found out that I must use .profile rather than .bash_profile.
wandro
 
Posts: 8
Joined: Fri Nov 16, 2007 6:21 pm

Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron