Skip to main content

Use long flags here

ID
5c804c4
date
2024-05-15 22:07:25+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
f113969
message
Use long flags here
changed files
1 file, 2 additions, 2 deletions

Changed files

config.fish (7084) → config.fish (7095)

diff --git a/config.fish b/config.fish
index 6adb0e4..b8e1371 100644
--- a/config.fish
+++ b/config.fish
@@ -39,10 +39,10 @@ function prepend_to_path
         return 1
     end
 
-    set -l new_path $argv[1]
+    set --local new_path $argv[1]
 
     if test -d $new_path
-        set -x PATH $new_path $PATH
+        set --export PATH $new_path $PATH
     end
 end