What steps will reproduce the problem?
1. install go
2. add go function to .profile instead of .bashrc
3. log out of X11 session, then back in
What is the expected output? What do you see instead?
This was logged in .xsession-errors:
/home/jeffg/.profile: 35: function: not found
go: error: Unrecognized shortcut: ''gnome-session''
/home/jeffg/.profile: 40: source: not found
/home/jeffg/.profile: 42: Syntax error: "}" unexpected
The problem is .profile is loaded in /bin/sh, not bash, so the bash
function syntax isn't supported.
What version of the product are you using? On what operating system?
latest svn on Ubuntu 9.10
Original issue reported on code.google.com by anisotropic on 22 Oct 2009 at 5:05
Original issue reported on code.google.com by
anisotropic
on 22 Oct 2009 at 5:05