Ensure the following are installed:
- GNU Stow
- Git
- zsh
- Oh My Zsh
- alacritty
- alacritty-theme
- gdb
# Clone this repo with:
git clone [email protected]:nextredo/dotfiles.git --recurse-submodules
# Use this repo's dotfiles with:
# Ensure $STOW_DIR is unset
# Ensure you're in the repository root
# NOTE: If you're unsure about what changes stow will make,
# then run it with --simulate --verbose
# if you'd like to stow anyway, use --adopt
stow .
# *Then follow the exta config steps below*
# 0. `cd` into the root of this repo
# 1. Check if there are any updates
git fetch --all --recurse-submodules
# 2. Pull this repo and submodules
git pull --all --recurse-submodules
# 3. Update the submodules (first time)
git submodule update --init --recursive
# 3. Update submodules (to checkout latest commit in main / master)
git submodule update --remote
# 4. Update symlinks (see installation section)
stow .
- Helpful commands
git submodule sync
- Emoji fonts may not work in Alacritty on Ubuntu 22.04
- See this link for more info
- To solve
- Either use a newer version of
libfreetype
(via having a newer Ubuntu version) - Or, use alacritty from commit
a77f77c
- Either use a newer version of
# Ensure your terminal is using the custom fontconfig
# Flush the font cache
fc-cache -f -v
# Test string for the terminal
echo "Syms:♥ \nEmojis: ❤️👍😍🙊🥱🥺✨✅🎊🏄⚠️"
- Configured per-repo, not globally
- Uses vscode settings sync
- Only theme I've found plays well with
conda
ZSH_THEME="ys"
# Others
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
# ZSH_THEME="robbyrussell"
# ZSH_THEME="random"
# ZSH_THEME="tonotdo"
# ZSH_THEME="cypher"
# ZSH_THEME="fino-time"
# Symlink setup (likely requires superuser privs)
ln ~/.config/keyd/default.conf /etc/keyd/default.conf -s
sudo systemctl status keyd
sudo systemctl start keyd
sudo keyd reload
- To use this file put the following in your actual bashrc / fishrc / zshrc
- (assuming this file is in ~/dotfiles/)
source ~/dotfiles/.spicy.bashrc