--- In [email protected], "Pascal" <pascal.hasko@...> wrote: > > I have set up a couple aliases and functions for Bash in the following files > /home/MYNAME/.bashrc ; /home/MYNAME/.bash_aliases as well as in /root/.bashrc > and /etc/profile > > If understand Bash correctly /etc/profile should set aliases globally for all > users, ROOT included (I'm on Debian Testing). Well, none of the configuration > files mentioned above is sourced at startup, so I have to do it manually. In > /etc/bash.bashrc Bash is told to source /etc/profile and /root/.bashrc if > present via the 'default' if-statements: > "if..... then do..." > > What am I doing wrong here? > Thanks for your help. > Pascal >
have you logged your user out, then back in again? I set aliases in ~/.bashrc and it always works for me. You can type alias at a prompt and see what all of your aliases are. env shows you the rest of your user environment. ------------------------------------ To unsubscribe from this list, please email [email protected] & you will be removed.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/LINUX_Newbies/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
