My Debian Setup

This is how i like to setup a fresh install of Debian (Ubuntu) based distributions.

List of Tools

  • nala - A front-end for apt (package manager)
  • eza - A modern replacement for ls
  • zoxide - A smarter cd written in rust
  • ranger - Console file manager with VI key bindings
  • bat - A cat replacement with syntax highlighting and Git integration.
  • neovim - Vim-fork focused on extensibility and usability
  • lazygit - A simple TUI for git
  • fzf - A general-purpose command-line fuzzy finder.
  • btop - Resource monitor that shows usage and stats for processor, memory, disks, network and processes.

Commands

  • Updating the index and upgrading all the packages
  • Installs the nala front end for apt & update the mirror
sudo apt update
sudo apt upgrade
sudo apt install nala
  • Add my alias.sh file to .bashrc, this adds some Quality of Life Aliases
# ===== QoL Aliases =====
alias cls="clear"
alias vim="nvim"
alias cat="batcat"
alias f="fzf"
alias r="ranger"
alias z="zoxide"
alias refresh="source ~/.bashrc"

# ===== EZA Aliases =====
alias l="eza --icons --sort Name"
alias ls="eza --icons --grid --classify --colour=auto --sort=type --group-directories-first --header --modified --created --binary --group"
alias ll="eza --icons --sort Name --long --header"
alias la="eza --icons --sort Name --long --all --header"
alias lr="eza --icons --sort Name --long --recurse --header"
alias lra="eza --icons --sort Name --long --recurse --all"
alias lt="eza --icons --sort Name --long --tree --header"
alias lta="eza --icons --sort Name --long --tree --all"
EOF

grep -qxF 'source ~/.alias' ~/.bashrc || echo 'source ~/.alias' >> ~/.bashrc
source ~/.bashrc

Future Scope

  • After a while, i usually switch to zsh as my shell but i have not made my guide for it
  • I use ohmyzsh / oh-my-bash to customize my prompt
  • For ubuntu, i remove snap support & use Flatpak