Skip to main content

Fix the way I set UV_LINK_MODE

ID
52089b1
date
2025-04-23 08:13:41+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
9cc69a3
message
Fix the way I set UV_LINK_MODE
changed files
1 file, 1 addition, 1 deletion

Changed files

fish_functions/pip_sync.fish (1521) → fish_functions/pip_sync.fish (1524)

diff --git a/fish_functions/pip_sync.fish b/fish_functions/pip_sync.fish
index 0b0f093..89861d4 100644
--- a/fish_functions/pip_sync.fish
+++ b/fish_functions/pip_sync.fish
@@ -25,7 +25,7 @@ function pip_sync --description "Make a virtualenv dependencies look like requir
     #
     # On macOS, this means "are you in a path that starts with /Volumes".
     if string match -q "/Volumes/*" "$PWD"
-        set UV_LINK_MODE copy
+        set -x UV_LINK_MODE copy
     end
 
     # Actually run the `uv pip sync` command.