delta icon indicating copy to clipboard operation
delta copied to clipboard

🚀 System config file

Open kocv59 opened this issue 8 months ago • 1 comments

If available, a system configuration file such as /etc/delta/delta.conf should be utilized to ensure default settings apply to all users. When using delta on files belonging to different users with sudo, you must specify --config ~/.gitconfig. But your gitconfig should not be shared with other users. Additionally, you cannot use sudo -u with another user if that user does not have access to your gitconfig, so you need to use sudo to operate as root.

kocv59 avatar Apr 28 '25 02:04 kocv59

delta does not have its own configs, it uses the same ones as git. So global settings can be placed in /etc/gitconfig. Other levels are the per-user ~/.gitconfig file and of course the per-repo .git/config file.

th1000s avatar May 03 '25 09:05 th1000s