justinmayer / virtualfish

Fish shell tool for managing Python virtual environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using tab for autocompletion with `vf activate` causes `direnv` to load and unload leading to cluttered output

taranlu-houzz opened this issue · comments

  • I am using Fish shell version 3.1 or higher.
  • I am using Python version 3.6 or higher.
  • I have searched the issues (including closed ones) and believe that this is not a duplicate.
  • If related to a plugin, I prefixed the issue title with the name of the plugin.
  • OS version and name: macOS 10.15.7 (19H1519)
  • Fish shell version: 3.3.1
  • VirtualFish version: 2.5.1

Issue

  • When attempting to use tab-completion in a project dir that uses direnv via a .envrc file, vf activate causes direnv to load and unload the directory which leads to cluttered output (the correct line with completion shows up after the loading and unloading of direnv stuff.
  • I'm guessing that internally, there is some sort of directory changing that happens which triggers this, so I am not sure if this is actually something that can be fixed.