# vim: ft=sh: if command -v nix >/dev/null; then devzsh() { local target="$1" local flake dev IFS='#' read flake dev <<<"$target" if [ -z "$dev" ]; then dev="$flake" flake="personal" if [ -z "$dev" ]; then dev="default" fi fi nix develop "$flake#$dev" -c zsh } fi