/dotfiles

Terminal supremacy🧑🏻‍💻

Primary LanguageLua

Dotfiles

The dot files are symlinked with Stow

Setup

Pre-req packages

sudo apt update
sudo apt install make gcc ripgrep unzip git xclip bat eza libfuse2

fzf

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

Nerd font

wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/JetBrainsMono.zip \
&& cd ~/.local/share/fonts \
&& unzip JetBrainsMono.zip \
&& rm JetBrainsMono.zip \
&& fc-cache -fv

zsh

sudo apt install zsh
chsh -s $(which zsh) # Make zsh as default shell
  • Update zshenv to point to ~/.config/zsh
sudo vim /etc/zsh/zshenv
if [[ -z "$XDG_CONFIG_HOME" ]]
then
        export XDG_CONFIG_HOME="$HOME/.config"
fi

if [[ -d "$XDG_CONFIG_HOME/zsh" ]]
then
        export ZDOTDIR="$XDG_CONFIG_HOME/zsh/"
fi

Starship

curl -sS https://starship.rs/install.sh | sh

NeoVim

curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
./nvim.appimage
sudo mkdir -p /opt/nvim
sudo mv nvim.appimage /opt/nvim/nvim

tmux

sudo apt install tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

tmux-sessionizer

  • Copy the tmux-sessionizer script to ~/.local/bin/tmux-sessionizer

  • Update permissions for the script

chmod +x ~/.local/bin/tmux-sessionizer

Create symlinks

sudo apt-get install -y stow
stow .

For windows

Tiling manager

  • GlazeWM and Zebar
winget install GlazeWM