Add support for distrobox

This commit is contained in:
caem 2024-07-31 16:39:15 +02:00
parent 862e544a71
commit 46b6968238
Signed by: caem
GPG key ID: 69A830D03203405F
5 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/usr/bin/env zsh
# TODO: Script to prompt which environment the user wants to enter in to

View file

@ -2,5 +2,6 @@
if [ -n "$(command -v "nvim")" ]; then
export MANPAGER='nvim +Man!'
export EDITOR="nvim"
fi

View file

@ -19,6 +19,10 @@ else
nix_shell_ps1=""
fi
if [ -n "$CONTAINER_ID" ]; then
dicon="%F{bg-yellow}[󰏗 $CONTAINER_ID]%f"
fi
setopt prompt_subst
autoload -Uz vcs_info
precmd () { vcs_info }