Skip to content

vlad-ivanov-name/addpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

addpath

addpath — adds a list of directories to $PATH, checks for duplicates and removes empty paths.

Usage

  1. Clone and build

  2. Add the following line to your ~/.bash_profile:

    export PATH="`addpath`"

    You can either provide a full path to binary in .bash_profile or create a symlink from a location already available is $PATH

  3. Add entries in ~/.addpath:

    cat << EOF > ~/.addpath
    /opt/some/software/bin
    /home/user/.cargo/bin
    EOF
  4. You may need to log out of your session and log in again to see changes.

Releases

No releases published

Packages

No packages published

Languages