zsh: Make nix-shell pretty and update ps1

This commit is contained in:
caem 2024-07-15 01:25:14 +02:00
parent 947368779d
commit 032fd38053
Signed by: caem
GPG key ID: 69A830D03203405F
7 changed files with 39 additions and 14 deletions

View file

@ -0,0 +1,7 @@
#!/usr/bin/env zsh
# Nix specific zsh configuration
if [ -x "$(command -v nix)" ]; then
source "$NIX_SHELL_PLUGIN"
fi