delta
delta copied to clipboard
🚀 System config file
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.
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.