Okay, so I have my scripts in ~/bin/, and they are added to the path normally. However, when I prefix them with sudo, they are not in the path. I figure this is because they're not in the path for root which sudo is using.
How can I change it so sudo also looks in my path? Or alternatively, so that my bin is in the root path? Thanks!