User Tools

Site Tools


nix:pathvars

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nix:pathvars [2020/01/06 15:51] kauffmannix:pathvars [2020/01/06 16:00] (current) kauffman
Line 111: Line 111:
 </code> </code>
  
-==== Making the change permanent ====+===== Making the change permanent =====
 Add the following line to a file called ''%%~/.bash_profile%%''. Add the following line to a file called ''%%~/.bash_profile%%''.
  
    export PATH=$PATH:$HOME/bin    export PATH=$PATH:$HOME/bin
  
-This will postpend our custom path to the search path every time we launch a bash login shell.+This will postpend our custom path to the search path every time we launch a bash login shell. You can replace ''%%$HOME/bin%%'' with any path you wish and add as many paths as you want at once.
  
 If you'd like to prepend just move your path in front of ''%%$PATH%%''. Just make sure each path is separated by a colon ''%%:%%''. If you'd like to prepend just move your path in front of ''%%$PATH%%''. Just make sure each path is separated by a colon ''%%:%%''.
/var/lib/dokuwiki/data/attic/nix/pathvars.1578347497.txt.gz · Last modified: 2020/01/06 15:51 by kauffman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki