Generate and add a ssh key for the repo (here named dotfiles )
Add a ssh config entry for dotfiles.github.com
Host dotfiles.github.com
HostName github.com
User git
IdentityFile ~/.ssh/dotfiles
IdentitiesOnly yesRun cfg/setupDotfiles.sh
curl https://raw.githubusercontent.com/AbraXa5/dotfiles/main/cfg/setupDotfiles.sh | bashClone the bare repository
git clone --bare git@dotfiles.github.com:AbraXa5/dotfiles $HOME/.dotfiles.gitSetup an alias to use the bare repository
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME'Backup conflicting dotfiles as a precaution and checkout this repository
dotfiles checkoutDisable tracking of new files
dotfiles config status.showUntrackedFiles noAntigen will handle all zsh requirements and plugins
Update antigen
curl -L git.io/antigen > antigen.zshInstall fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install --no-update-rc --no-bash --no-zshInstalll required tools and packages
yay -S \
bat \
exa \
the_silver_searcher \
xclip \
nnn \
peco \
jq \
python3-pip \
python3-venv \
unzip \
nmap \
ffuf \
wfuzz \
remmina \
fortune-mod \
toilet \
cowsay \
goBuild Catppuccin theme for bat
bat cache --buildInstall docker and docker compose
yay -S docker.io docker-compose docker-clean
sudo usermod -aG docker $USER
newgrp docker
sudo systemctl enable docker --nowVSCode
- Sync settings from github
- settings.json and keybinding in the ansible repo if required
SublimeText
- Install package control
- Install package sync using package control
- Wait for extension to install and restart subl
Post setup, set wakatime API key via the extension to track time spent on editors
Starship Switched the shell prompt to startship
# cmake should be installed for this
cargo install starship --lockedcurl -sS https://starship.rs/install.sh | shTerminator
Catppuccin theme already in the config files, execute with terminator -p Catppuccin_Mocha
Open a new terminal or source the rc file and run dot to get an overview of all added dotfiles. (M means the file is modified but not staged)
> dot
M /.bashrc Fix bashrc fzf import
/.config/bat/config Change bat theme
/.config/nano/nanorc Add nano rc file
...
...dot supports all git operations, for example,
dot addto stage a filedot commit -m ''to commit the filesdot pushto push to remotedot lgto view log and so on