zero/home-environments/radio/files/.config/fish/functions/guix_shell.fish

6 lines
145 B
Fish
Raw Permalink Normal View History

function __guix_shell --on-variable PWD
if test -n (grep -x $PWD ~/.config/guix/shell-authorized-directories)
guix shell
end
end