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 yes
Run cfg/setupDotfiles.sh
curl https://raw.githubusercontent.com/AbraXa5/dotfiles/main/cfg/setupDotfiles.sh | bash
Clone the bare repository
git clone --bare [email protected]:AbraXa5/dotfiles $HOME/.dotfiles.git
Setup 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 checkout
Disable tracking of new files
dotfiles config status.showUntrackedFiles no
Antigen will handle all zsh requirements and plugins
Update antigen
curl -L git.io/antigen > antigen.zsh
Install fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install --no-update-rc --no-bash --no-zsh
Installl 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 \
go
Build Catppuccin theme for bat
bat cache --build
Install docker and docker compose
yay -S docker.io docker-compose docker-clean
sudo usermod -aG docker $USER
newgrp docker
sudo systemctl enable docker --now
VSCode
- 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 --locked
curl -sS https://starship.rs/install.sh | sh
Terminator
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 add
to stage a filedot commit -m ''
to commit the filesdot push
to push to remotedot lg
to view log and so on