homes/todo/.config/fish/functions/cd.fish
kujiu (@uberwald) 8ca6287fb1
Update all tools
-> Passwords in KeePassXC (access by keyring)
-> Neomutt + Aerc (mail)
-> vdirsyncer + khal + khard (calendar and contacts)
zsh -> fish
-> poezio (XMPP)
-> newsboat (RSS with FreshRSS)
-> toot (Mastodon client)
vim -> neovim (with lunarvim)
-> nvimpager (pager based on neovim)
-> konsole

With Nightfox theme.
2023-09-02 00:40:34 +02:00

13 lines
272 B
Fish
Executable file

#!/usr/bin/env fish
#
function cd
builtin cd $argv
if test -f venv/bin/activate
source venv/bin/activate
else if test -f bin/activate
source bin/activate
else if test -f ../venv/bin/activate
source ../venv/bin/activate
end
end