Skip to main content

This should be a variable, not a string

ID
611dc03
date
2023-12-29 13:34:37+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
6a4ec32
message
This should be a variable, not a string
changed files
1 file, 1 addition, 1 deletion

Changed files

config.fish (5532) → config.fish (5535)

diff --git a/config.fish b/config.fish
index 20e5391..8369f33 100644
--- a/config.fish
+++ b/config.fish
@@ -125,7 +125,7 @@ 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 -z existing_venv
+        if test -z "$existing_venv"
             deactivate
         else
             source "$existing_venv/bin/activate.fish"