Editing the Bash Profile for Root
For example, I have an alias set up so I can just type "textedit /path/to/file" instead of "/Applications/TextEdit.app/Contents/MacOS/TextEdit /path/to/file." When I try "sudo textedit" though, I get "command not found." The only way I'm able to get it to work is by logging in as root and sourcing the bash profile from my home folder. Is there a specific profile for the root account that I have to edit or something? How do I get this to work?
15" MacBook Pro, 2.16 GHz Core Duo, Mac OS X (10.5.6)