Skip to main content

Add another bit of descriptive text

ID
e66d869
date
2023-12-19 05:52:51+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
90ca5d3
message
Add another bit of descriptive text
changed files
2 files, 2 additions, 2 deletions

Changed files

config.fish (4849) → config.fish (4904)

diff --git a/config.fish b/config.fish
index 5d5fee6..bec6f76 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 --on-variable PWD
+function __auto_enable_venv --description "Auto enable/disable virtualenv when I change directories"
     auto_enable_venv
 end
 

fish_functions/auto_enable_venv.fish (1106) → fish_functions/auto_enable_venv.fish (1179)

diff --git a/fish_functions/auto_enable_venv.fish b/fish_functions/auto_enable_venv.fish
index 8e6d9ff..74a2183 100644
--- a/fish_functions/auto_enable_venv.fish
+++ b/fish_functions/auto_enable_venv.fish
@@ -4,7 +4,7 @@
 # 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
+function auto_enable_venv --description "Auto enable/disable 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.