.emacs.d/site-lisp
Daniel Borchmann 6bac3973f9
Make eshell git prompt function more robust
When checking whether we are in a git repository or not, remove all symbolic
links in the current path before looking for a .git in the current path;
otherwise, symbolic links might mislead `locate-dominating-file` to find some
.git directory which is only reachable via symbolic links, which subsequently is
ignored by git (rightly so!) and thus yields errors.

Also, catch the case that the current git repository is not initialized yet by
checking the return value of `git rev-parse --abbrev-ref HEAD`.
2023-03-23 19:50:35 +01:00
..
term Initial commit 2017-07-16 18:07:00 +02:00
db-customize.el Jump to first open checkbox in currently clocked-in item by default 2022-11-19 16:09:38 +01:00
db-emms.el Rename main music hydra and move it to `db-music' 2020-06-27 10:16:53 +02:00
db-eshell.el Make eshell git prompt function more robust 2023-03-23 19:50:35 +01:00
db-hydras.el Make checkdoc happy about db-hydras package 2021-03-20 15:48:00 +01:00
db-mail.el Remove calls to some obsolete CL functions 2021-01-16 14:34:48 +01:00
db-music.el Remove custom function to play radio stations 2022-04-29 09:39:57 +02:00
db-org.el Improve checklist insertion 2023-03-21 16:52:27 +01:00
db-projects.el Match namespace prefix for project utilities with package name 2022-10-16 21:10:45 +02:00
db-utils-test.el Fix precision error in `db/ntp-to-time' 2020-06-27 09:35:31 +02:00
db-utils.el Let display-buffer handle window placement for shells 2023-02-13 13:22:51 +01:00
org-password-manager.el Add local copy of org-password-manager.el 2022-07-22 18:30:41 +02:00
plantuml-mode.el Update local copy of plantuml-mode 2021-10-16 18:45:41 +02:00
timeline-tools-test.el Trying to make test for `timeline-tools' independent of locale 2020-01-05 14:32:35 +01:00
timeline-tools.el Make going back and forth in timeline buffers more robust 2022-03-31 14:22:52 +02:00