Skip to main content

Fix the order of these two conditions

ID
8ed3efb
date
2023-12-15 22:28:21+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
ef23c6b
message
Fix the order of these two conditions
changed files
1 file, 2 additions, 2 deletions

Changed files

config.fish (3975) → config.fish (3975)

diff --git a/config.fish b/config.fish
index 8a10f33..3112514 100644
--- a/config.fish
+++ b/config.fish
@@ -81,9 +81,9 @@ function __create_bash_script_alias
         #
         # If not, we just need to deactivate the scripts venv.
         if [ existing_venv = "" ]
-            deactivate
-        else
             source "$existing_venv/bin/activate.fish"
+        else
+            deactivate
         end
     end
 end