Build my setup and workflow in the blink of an eye.
This whole git is meant to be used also for dockers that have $HOME
mounted.
contains scripts to automatically install my fav utils
- Alacritty a good terminal TODO
- zellij terminal multiplexer like tmux but easy to use
- starship terminal prompt to make your term look fancy
- nerd-font fancy font to go with startship NEED TO DO THE TUTORIAL (git clone --depth 1) TODO
- gdb-dashboard Fancy dashboard for gdb written in python
- ipdb Better python debugger
- delta enhanced
diff
that can be used to replacegit diff
as well - thefuck corrects your input errors by suggestion
- helix code editor
- gitui git gui allowing line-by-line commits, very efficient, very useful
- lsd enhanced ls command
- zoxide enhanced cd command
- bat enhanced cat command
- ripgrep enhanced grep command
- fzf Fuzzy file finder TODO
- yazi Simple file finder TODO
- serpl Simple find & replace tool TODO
- tokei to know how many lines of codes a specific repo contains
- clangd C lang LSP
Many packages used here are hosted on cargo
, rust's pkg manager. To install cargo
you must first install rust
:
./install_rust.sh # will install rust and cargo its pkg manager
echo "source $HOME/.cargo/env" >> ~.bashrc
# alacritty needed system libraries
apt install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
cargo install alacritty
- [OPTIONNAL] copy my alacritty .dotfile to your ~/.config/ folder to have my setup instead of the default one
cp ./dotfiles/alacritty/ ~/.config/alacritty
cargo install --locked zellij
- [OPTIONNAL] copy my zellij .dotfile to your ~/.config/ folder to have my setup instead of the default one
cp ./dotfiles/zellij/ ~/.config/zellij
Install scripts are split in 3 for 3 reasons :
- You need to install
rust
to usecargo
, its package manager. Installing rust multiple times is useless. apt-get
needssudo
&sudo cargo install
won't work properly.- instaling w/ cargo will install in $HOME so if you are in a docker w/
$HOME
mounted you don't need to reinstall them. You only need to reinstall the apt pkg.You will only need to add them in your path with.setup_dockerrc
that mainly adds stuff to the$PATH
and creates aliases.
cd install/
sudo ./install_tools.sh # will install apt pkg
# no need to add cargo to your .bashrc for now this is in the next step
source "$HOME/.cargo/env"
./install_cargo_tools.sh # will install the cargo binaries
! Warning : sccache cargo pkg has apt pkg deps : openssl & pkg config, they are installed in install-tools.sh hence you need to run these commands in this specific order.
Copy .files using stow
Use stow to create symlinks from dotfiles/*
to your config files (mostly goes to ~/.config except for gdb) to configure the utils that need it.
apt install stow
cd
stow -d <path/to/this/repo>/dotfiles -t . <pkg_name>
with pkg_name
one being one the folders located in ./dotfiles
- .append_bashrc contains most of the setup you will need, you just need to append it to your
.bashrc
bat append_bashrc >> .bashrc
Note: you can also use my helix config, set it up using stow as just shown above
They are voluntarily taken of the repo to keep it lightweight. List of plugins to install :