added path managing functions

This commit is contained in:
Léana 江 2022-12-23 19:37:59 +01:00
parent 58753e4ad5
commit 8e94f7181c
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,5 @@
function addpaths
contains -- $argv $fish_user_paths
or set --universal fish_user_paths $fish_user_paths $argv
echo "Updated PATH: $PATH"
end