Skip to main content

Use better terminology

ID
ebf49f4
date
2023-12-19 05:55:33+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
e66d869
message
Use better terminology
changed files
2 files, 3 additions, 3 deletions

Changed files

config.fish (4904) → config.fish (4916)

diff --git a/config.fish b/config.fish
index bec6f76..9e72281 100644
--- a/config.fish
+++ b/config.fish
@@ -75,7 +75,7 @@ set -g -x PIP_REQUIRE_VIRTUALENV true
 #
 # See https://fishshell.com/docs/current/language.html#event
 #
-function __auto_enable_venv --description "Auto enable/disable virtualenv when I change directories"
+function __auto_auto_activate_venv --description "Auto activate/deactivate virtualenv when I change directories"
     auto_enable_venv
 end
 

fish_functions/auto_enable_venv.fish (1179) → fish_functions/auto_activate_venv.fish (1188)

diff --git a/fish_functions/auto_enable_venv.fish b/fish_functions/auto_activate_venv.fish
similarity index 88%
rename from fish_functions/auto_enable_venv.fish
rename to fish_functions/auto_activate_venv.fish
index 74a2183..9093283 100644
--- a/fish_functions/auto_enable_venv.fish
+++ b/fish_functions/auto_activate_venv.fish
@@ -1,10 +1,10 @@
-# This tells fish to auto-enable my virtualenvs when I change directories.
+# This tells fish to auto-activate my virtualenvs when I change directories.
 #
 # I have a fairly simple naming convention for my virtualenvs: I put
 # them in the root of the Git repo for each project, and I always
 # name them `~/.venv`.  This means it's pretty easy to work out if
 # a virtualenv exists for the current directory.
-function auto_enable_venv --description "Auto enable/disable virtualenv when I change directories"
+function auto_activate_venv --description "Auto activate/deactivate virtualenv when I change directories"
     set REPO_ROOT (git rev-parse --show-toplevel 2>/dev/null)
 
     # If we're not inside a Git repo, there's no virtualenv to activate.