Skip to content

kev-landry/Dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal setup dotfiles

Purpose

In order to sync my env accross multiple computers or when i format one.

Everything is in one directory called Dotfiles in ~/. The idea is to bring together multiple dot files scatered around .config or ~/. For this i use stow to manage symlinks between Dotfiles repo and ~ or .config directories.

  • My OS is ubuntu 22
  • Wezterm is the terminal used (written is Rust)
  • Hyperjs is the terminal i used until some time ago
  • Zeillij is the multiplexer (love its layout/tab/pane management)
  • Gitui as a terminal git ui layout (written in Rust)
  • Phpstorm as ide
  • Neovim might be my main code editor soon to be a 10x developper ^_^

To sum up, this configuration is based on 4 tools written in Rust because fuck yeah we want to be on the edge and be supa dupa fast. Alacrity as terminal that uses Zellij as multiplexer that uses fish as shell wrapped by Starship.
Simple right ?

TODO: Neovim config

Zellij

Download the binazy

Unpack it
tar xzvf zellij-x86_64-unknown-linux-musl.tar.gz

Then install the binary in your /bin
sudo install zellij /usr/local/bin

mkdir ~./config/zellij
cd Dotfiles
stow ~/.config/zellij zelli

Gitui

Install cargo
curl https://sh.rustup.rs -sSf | sh

Install gitui
cargo install gitui

Symlink
cd Dotfiles && stow -t ~/.config/gitui gitui

Btop

Download
wget https://github.com/aristocratos/btop/releases/download/v1.2.13/btop-x86_64-linux-musl.tbz
Unzip
tar -xjf btop-x86_64-linux-musl.tbz
Install
cd btop && sudo make install
Clean files
rm -rf btop-x86_64-linux-musl.tbz btop
Symlink

cd Dotfiles && 
stow -t ~./config/btop btop

Alacrity

Follow instructions from Alacritty repo

Install all dependencies needed

apt install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3 && 
rustup override set stable && 
rustup update stable

Clone repo

git clone https://github.com/alacritty/alacritty.git 
cd alacritty
cargo build --release

To have Desktop icon

cd Alacritty && 
sudo cp target/release/alacritty /usr/local/bin && 
sudo cp extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg &&
sudo desktop-file-install extra/linux/Alacritty.desktop &&
sudo update-desktop-database

Once the whole installation is done try to run alacritty to check if the set up is OK with alacritty.

cd Dotfiles &&
stow -t ~/.config starship

HACK FONT - install

Go to https://www.nerdfonts.com/font-downloads to check if link is the lastest release version !

wget -P ~/Downloads https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/Hack.zip && \
cd ~/.local/share && \
mkdir fonts && \
cd fonts && \
mv ~/Downloads/Hack.zip . && \
unzip Hack.zip && \
rm -rf Hack.zip

Close and re open Alacritty terminal.

Check if Hack Nerd Font have been installed correctly on Alacritty

fc-list | grep -i "Hack"

Fish shell

Install

sudo apt-add-repository ppa:fish-shell/release-3 &&
sudo apt update &&
sudo apt install fish

Make fish your default shell

echo /usr/local/bin/fish | sudo tee -a /etc/shells &&
chsh -s /usr/local/bin/fish

Run the command fish once to create the defaut config in ~/.config then:

cd Dotfiles
stow -t ~/.config fish

Starship

https://github.com/starship/starship

Install

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

Config

cd Dotfiles &&
stow -t ~/.config starship

Neovim

Download & install

mkdir ~/Apps &&
cd ~/Apps &&
wget https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz &&
tar xzvf nvim-linux64.tar.gz &&
rm xzvf nvim-linux64.tar.gz

Then add nvim to PATH in ~/.profile

export PATH="$PATH:/home/kevin/Apps/nvim-linux64/bin"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published