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
Last revisionBoth sides next revision
nix:pathvars [2020/01/06 15:49] kauffmannix:pathvars [2020/01/06 15:51] kauffman
Line 36: Line 36:
 </code> </code>
  
-==== Intro the the PATH variable ====+===== Intro the the PATH variable =====
  
 Generally your search path for binaries will look something like the below. Generally your search path for binaries will look something like the below.
Line 63: Line 63:
  
  
-===== Manipulating the PATH variable =====+===== Setting up an Example =====
  
 Your shell will allow you manipulate the order in which these paths appear. It's as simple as setting a variable. Your shell will allow you manipulate the order in which these paths appear. It's as simple as setting a variable.
Line 91: Line 91:
 As you may have guessed we will want to add (pre or postpend) ''%%~/bin%%'' to our ''%%PATH%%'' variable. As you may have guessed we will want to add (pre or postpend) ''%%~/bin%%'' to our ''%%PATH%%'' variable.
  
-==== The reason you are here ====+===== Manipulating the PATH variable =====
  
 <code> <code>
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%%''.
  
/var/lib/dokuwiki/data/pages/nix/pathvars.txt · Last modified: 2020/01/06 16:00 by kauffman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki