You are not logged in.
How do i set global path variables in archlinux??
I need to do this because ie, I am using gmrun, and I just installed xarchiver. But gmrun cant find xarchiver since it is located in /opt/xfce4/bin/.. I can append this to my PATH in .zshrc/ .bashrc file, but this only helps when i run it through the terminal.
I want to also be able to have a global alias file, to run the alias xterm = 'xterm -bg black -fg white' through gmrun.
Couldnt find any documents on how this works in archlinux.
Last edited by jinn (2007-02-04 10:56:40)
The ultimate Archlinux release name: "I am your father"
Offline
For the path, run 'bash /etc/profile' to update the path for the current terminal. You can also logout then relogin to set them for the whole session. No files needs changing.
For the alias, create a 'etc/profile.d/alias.sh' file. add the alias in it and give it executable permission. For the change to take effect, you'll need to run 'bash /etc/profile' or logout/relogin.
Offline
Alright thanks.
The ultimate Archlinux release name: "I am your father"
Offline