Skip to content

danass/Add-to-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Add current Folder to Global ENV $PATH - Bash

A very simple command, thats adds and removes, the current folder to the global $PATH in bash; making the content of the current folder accessible from anywhere.

Paste atp.sh script content to your ~/.bashrc file.

Adding current folder to $PATH

user@bash$ atp .

Remove current folder to $PATH

user@bash$ atp -r .

It's that easy!

Releases

No releases published

Packages

No packages published

Languages