My configuration for bat, a cat(1) clone with syntax highlighting and Git integration.
This repository contains the configuration files for bat. This file is synchronized using this Git repository. The following instructions detail how to use and sync this repository.
-
Install the
bat
package.sudo rpm-ostree install bat
-
Reboot for the changes to take effect.
sudo systemctl reboot
Install these settings with the following instructions.
-
Clone this repository.
git -C ~/Projects clone git@github.com:jwillikers/bat-config.git
-
Create the ~/.config/bat directory.
mkdir ~/.config/bat
-
Copy the configuration file in the
bat
directory to the bat configuration directory.cp ~/Projects/bat-config/bat/config ~/.config/bat
To update the settings in this repository from an existing installation, follow these steps.
-
If you haven’t already done so, clone this repository.
git -C ~/Projects clone git@github.com:jwillikers/bat-config.git
-
Copy the configuration file
~/.config/bat/config
to this repository.cp ~/.config/bat/config ~/Projects/bat-config/bat/
-
Stage the updated file.
git -C ~/Projects/bat-config add -A
-
Commit.
git -C ~/Projects/bat-config commit -m "Update configuration putting all others to shame"
-
Push the changes back to the central repository.
git -C ~/Projects/bat-config push
Please refer to the project’s Code of Conduct.