tools
Description and config files for my commonly used tools. For the moment this means the terminal emulator Ghostty and the terminal text editor Helix
Ghostty¶
Install¶
No official package available for Debian/Ubuntu. Non official repo
- Download and store the repository signing key (dearmored)
sudo curl -fsSL https://debian.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc \
| sudo gpg --dearmor -o /usr/share/keyrings/debian.griffo.io.gpg
- Add the repository, referencing the keyring using 'signed-by'
echo "deb [signed-by=/usr/share/keyrings/debian.griffo.io.gpg] \
https://debian.griffo.io/apt $(lsb_release -sc) main" \
| sudo tee /etc/apt/sources.list.d/debian.griffo.io.list
- Update and install
sudo apt update && sudo apt install ghostty
Terminfo tweaking¶
As per the official documentation :
Terminfo is used to tell software about the terminal's capabilities. Ghostty ships with its own terminfo entry to advertise its features.
So when you spin up a VPS, Ghostty is unknown in the Terminfo of the remote machine. To add it :
infocmp -x xterm-ghostty | ssh (USER@)YOUR-SERVER -- tic -x -
This will only install it for the user specified. If you have to add it for another user, you can ssh to the machine and enter :
infocmp -x xterm-ghostty | sudo -u USER tic -x -
Helix¶
Install¶
sudo apt install hx
Config file¶
Edit it :
hx /home/$USER/.config/helix/config.toml
Sample config file :
theme = "everforest_dark"
[editor]
line-number = "relative"