[pre-commit.ci] pre-commit autoupdate
updates:
- github.com/commitizen-tools/commitizen: v3.29.0 → v3.29.1
- github.com/python/black: 24.8.0 → 24.10.0
- github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0
- github.com/scop/pre-commit-shfmt: v3.9.0-1 → v3.10.0-1
- github.com/asottile/blacken-docs: 1.18.0 → 1.19.0
- github.com/asottile/reorder-python-imports: v3.13.0 → v3.14.0
That's strange. Do you have the latest version of the file?
We do have a guard here:
https://github.com/junegunn/fzf-git.sh/blob/6df84d71fe8b532b6e1d7c4a754ea6c7c032f553/fzf-git.sh#L147-L148
Any idea why you're running into the problem?
Yes it was my first time using fzf-git.
I also tried switching from sddm to lighdm, but it didn't work too.
I think the problem is associated with the X Server because when I started the X session manually, using the command xinit or startplasma-x11 in a tty, I passed the login loop and entered the system.
I had a similar issue but my terminal would just crash, and sourcing it only as an interactive shell didn't work for me. Sourcing it as a prompt command fixed this issue for me
function load_fzf_git() {
source ~/fzf-git.sh
}
PROMPT_COMMAND="load_fzf_git; $PROMPT_COMMAND"
@hahnandrew That would make your shell unnecessarily reload the file over and over again.
I can't be 100% sure because I don't have the problem, but I believe 28b544a7b6d284b8e46e227b36000089b45e9e00 should help. Please update and leave comments if you still see the problem.