dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit 9b53871fcaa39b3892b9e7a92e52be92eef7c314
parent c24b00a3cdb5a7dcd438bc8a6c597696bde5665c
Author: Chris Noxz <chris@noxz.tech>
Date:   Thu, 23 Apr 2020 17:50:49 +0200

[ksh] recognize submodules in git prompt

Diffstat:
Mksh/.config/ksh/kshrc.d/90-prompt.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ksh/.config/ksh/kshrc.d/90-prompt.sh b/ksh/.config/ksh/kshrc.d/90-prompt.sh @@ -20,7 +20,7 @@ _ksh_user_prompt() { _ksh_git_prompt() { # abort if not a git repository - [ ! -d .git ] && return + [ ! -f .git ] && [ ! -d .git ] && return # variable local branch=""