blob: 3cd12067882ae47800a60f593ce921d4934f8d73 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env zsh
# Make nix shell run zsh
alias nix-shell="nix-shell --command zsh"
# Add nix-shell prefix to prompt in the same style as python venv
if [ -n "$IN_NIX_SHELL" ]; then
PS1PREFIX="(nix-shell) "
fi
|