Skip to main content

Keep twiddling this bit

ID
c0254ac
date
2023-12-29 13:32:35+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
b7d633e
message
Keep twiddling this bit
changed files
1 file, 3 additions, 3 deletions

Changed files

config.fish (5479) → config.fish (5479)

diff --git a/config.fish b/config.fish
index ddeca7e..3e32821 100644
--- a/config.fish
+++ b/config.fish
@@ -125,10 +125,10 @@ function __create_bash_script_alias
         # script, make sure we re-enable it afterwards.
         #
         # If not, we just need to deactivate the scripts venv.
-        if test -n existing_venv
-            source "$existing_venv/bin/activate.fish"
-        else
+        if test -z existing_venv
             deactivate
+        else
+            source "$existing_venv/bin/activate.fish"
         end
     end
 end