Skip to content

Instantly share code, notes, and snippets.

@TomSchillemans
Created April 8, 2015 00:04
Show Gist options
  • Save TomSchillemans/dc54e376f654e480a0fc to your computer and use it in GitHub Desktop.
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!!
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