Created
April 8, 2015 00:04
-
-
Save TomSchillemans/dc54e376f654e480a0fc to your computer and use it in GitHub Desktop.
Export arguments to path. Add as many arguments as you need paths to be exported!!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function export_path --description 'Export to PATH (Enter multiple arguments for each path to export)' | |
for exp_path in $argv | |
set PATH $PATH $exp_path | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment