bash-git-prompt: Not displaying correctly on termux
Hi.
I’ve tryed to use this on termux and the status doesn’t display correctly:
I’ve used:
grep -lir --exclude-dir=.git '#!' . | xargs termux-fix-shebang
To fix the shebang on the scripts.
Any ideas? Thanks.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (9 by maintainers)
Commits related to this issue
- Fix issue #338 - Fixes behaviour if `/tmp` dir does not exist Private index was tried to create in nonexistent location, no error was ever displayed, and then unconditionally GIT_INDEX_FILE variable ... — committed to mskalski/bash-git-prompt by mskalski 5 years ago
- Fix issue #338 - Fixes behaviour if `/tmp` dir does not exist Private index was tried to create in nonexistent location, no error was ever displayed, and then unconditionally GIT_INDEX_FILE variable ... — committed to mskalski/bash-git-prompt by mskalski 5 years ago
- Fix issue #338 - Fixes behaviour if `/tmp` dir does not exist Private index was tried to create in nonexistent location, no error was ever displayed, and then unconditionally GIT_INDEX_FILE variable ... — committed to mskalski/bash-git-prompt by mskalski 2 years ago
- Fix issue #338 - Fixes behaviour if `/tmp` dir does not exist (part 2) Additionally in case of nonexistent index file most of files were marked with 'D' in second loop pass of `gitstatus.sh` which wa... — committed to mskalski/bash-git-prompt by mskalski 2 years ago
- Fix issue #338 - Fixes behaviour if `/tmp` dir does not exist Private index was tried to create in nonexistent location, no error was ever displayed, and then unconditionally GIT_INDEX_FILE variable ... — committed to mskalski/bash-git-prompt by mskalski 5 years ago
- Honour TMPDIR variable for cases when /tmp dir does not exist (i.e. on termux) Private index was tried to create in nonexistent location, no error was ever displayed, and then unconditionally GIT_IND... — committed to mskalski/bash-git-prompt by mskalski 2 years ago
- Honour TMPDIR variable for cases when /tmp dir does not exist (i.e. on termux) Private index was tried to create in nonexistent location, no error was ever displayed, and then unconditionally GIT_IND... — committed to magicmonty/bash-git-prompt by mskalski 2 years ago
Found it - on Android there is no
/tmp
directory, so private git index was not created, but still variable GIT_INDEX_FILE was set pointing to non-existent file. This waygit status
showed all files were simultaneously deleted and not tracked.Created PR #460