Skip to content

Commit

Permalink
[zsh] indicator when we are in distrobox container
Browse files Browse the repository at this point in the history
  • Loading branch information
meain committed Nov 16, 2023
1 parent a30c99c commit e7ab2f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zsh/.config/zsh/.zsh-custom/themes/snipe.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ function _git_repo_base(){

_tmux_indicator='!'

if [[ -n "$IN_NIX_SHELL" ]] ; then

if [[ -n "$DISTROBOX_ENTER_PATH" ]] ; then
local _tmux_indicator="@"
elif [[ -n "$IN_NIX_SHELL" ]] ; then
local _tmux_indicator="#"
elif [[ -n "$TMUX" ]] ; then
local _tmux_indicator="="
Expand Down

0 comments on commit e7ab2f3

Please sign in to comment.