I installed Sublime Text 3 in Fedora 20 which has got GNOME, as I couldn't get it being called from terminal I created a .bash_aliases
file which a line like this:
alias sublime='sublime_text'
And so also added the sublime_text file location to the PATH by editing .bashrc
file adding:
export PATH=$PATH:/usr/local/share/applications/sublime-text-3/
However, when I want to edit any file for which I might get sudo privilege first I want to do:
sudo sublime sudoLikelyFile
or
sudo sublime_text sudoLikelyFile
However I'm getting:
sudo: sublime: command not found
How can I work around for this?
secure_path
? – diegoaguilar Jan 17 '14 at 15:47Defaults
listed above. If it doesn't exist, you may not have the issue. – Chris Down Jan 18 '14 at 09:49