dotfiles

config files for my linux setup
git clone git://edryd.org/dotfiles
Log | Files | Refs | README

commit a3ee0006233f0ce57253072756c5c6fea28796be
parent ed17b5e8f20a82b22cc4e938fd9c7ed98e4184cb
Author: Ed van Bruggen <ed@edryd.org>
Date:   Thu,  5 Feb 2026 23:51:51 -0500

bash: Fix sett to work with .git directory or file

git worktree uses a .git file instead of the typical .git directory

Diffstat:
Mbashrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bashrc b/bashrc @@ -75,7 +75,7 @@ $([ \j -gt 0 ] && echo "\j ")\[${White}\]\ PS2='\[${White}\]\$\[${Color_Off}\] ' -command -v sett >/dev/null 2>&1 && PROMPT_COMMAND="[ -d .git -o -f .sett ] && sett" +command -v sett >/dev/null 2>&1 && PROMPT_COMMAND="[ -e .git -o -f .sett ] && sett" # basic {{{1 export EDITOR='nvim'