From 143a473acca7eba273df7b331b5aaf56cb8cdc3d Mon Sep 17 00:00:00 2001 From: Shawn Anderson Date: Sat, 3 Oct 2020 21:38:32 -0700 Subject: [PATCH] Added snake to my python environment. I have a feeling that this might get overwritten by one of my fish plluginn manageers. I will keep an eye on it. --- dotfiles/.config/fish/functions/_virtualfish.fish | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dotfiles/.config/fish/functions/_virtualfish.fish diff --git a/dotfiles/.config/fish/functions/_virtualfish.fish b/dotfiles/.config/fish/functions/_virtualfish.fish new file mode 100644 index 0000000..de69002 --- /dev/null +++ b/dotfiles/.config/fish/functions/_virtualfish.fish @@ -0,0 +1,6 @@ +# Defined in /tmp/fish.hymHqS/_virtualfish.fish @ line 2 +function _virtualfish + if set -q VIRTUAL_ENV + echo -n -s (set_color black) "(" (basename "$VIRTUAL_ENV") "🐍)" (set_color normal) " " + end +end