# vim
sudo apt install vim curl wget git xz-utils
Install nix package manager (https://github.com/NixOS/nix)
- https://nix-tutorial.gitlabpages.inria.fr/nix-tutorial/getting-started.html
- https://nixos.org/manual/nix/stable/
- https://christitus.com/nix-package-manager/
curl -L https://nixos.org/nix/install | sh
- Package list: https://search.nixos.org/packages
Install nala (https://gitlab.com/volian/nala)
# Add Repository - NOT NEEDED FOR Debian SID/testing
echo "deb http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list; wget -qO - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg
# Update repo
sudo apt update
# If Debian Sid or Debian 12/+ or Ubuntu 22+
sudo apt install nala
# You can update mirrors (if needed. to speed up your repo)
sudo nala fetch
# install
apt install zsh
# make default
chsh -s $(which zsh)
# after terminal restart you get prompt for setup, you can start blank
# install OMZ
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
# Configuration (may need sudo for cp)
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
source ~/.zshrc
# Edit zshrc file
vi ~/.zshrc
# Then add following in the end of file
apt() {
command nala "$@"
}
sudo() {
if [ "$1" = "apt" ]; then
shift
command sudo nala "$@"
else
command sudo "$@"
fi
}
# save the file
# manually install these
https://github.com/romkatv/powerlevel10k#manual-font-installation
# optional
sudo apt install fonts-powerline
# Clone repo
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# Cange to following in zshrc fiile
ZSH_THEME="powerlevel10k/powerlevel10k"
# Restart terminal & go through setup
# if you wanna launch setup again
p10k configure
- https://github.com/zsh-users
- https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins
- https://safjan.com/top-popular-zsh-plugins-on-github-2023/
# Add auto-suggestion, syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
# Add zsh-autosuggestions & zsh-syntax-highlighting in plugins section of .zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Fun ui
sudo apt install hollywood cmatrix cowsay