function activate-nix-env \ --description "Add a nix environment into path" ### Arguments: if [ (count $argv) -ne 1 ] echo "Must provide exactly one argument, the path to be added" return 1 end set env_name $argv[1] fish_add_path --global "$HOME/.environments/$argv[1]/bin" end