Max terminal with Min work


sudo apt install zsh
chsh -s $(which zsh) # make it default

Restart terminal, select option 2 after relauch, this gives you nice autocompletion already out of the zsh box.

✨ Achievement unlocked: autocompletion, power of raw zsh: repeat 5 echo “woot”


git clone ~/.zsh/zsh-autosuggestions

Add this lines to .zshrc

# autosuggestions
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh

✨ Achievement unlocked: autosuggestion magic.

starship prompt

Note: Certain terminals like urxvt have problems displaying double-width unicode symbols that starhip uses, good alternative is oh-my-zsh default prompt

a. Configure terminal to use some of the nerd font, I like ‘FantasqueSansMono Nerd Font’.

b. Follow the curl and add the lines to .zshrc again

# starship
eval "$(starship init zsh)"

c. configure starship

cd && mkdir .config
vi starship.toml

and paste

min_time = 10000

✨ Achievement unlocked: Cute prompt for which you wasted very little time and can be used with bash as well.

🙄 In urxvt a lot of special symbols will not display, some creative solutions might be needed, for example to replace lock with some read-only ascii

read_only = " read-only"

Other stuff in .zshrc

Add ~/bin to path

# user ~/bin
if [ -d "$HOME/bin" ] ; then

✨ Achievement unlocked: Your scripts in ~/bin will become alive.

fzf (very optional)

# fzf /usr/share/doc/fzf/README.Debian (ctrl+R and ctrl+T)
if [ -f "$file" ]; then
    source "$file"


apt install fzf

✨ Achievement unlocked: EyeCandy with ctrl+R and ctrl+T.

Include .bash_aliases

# .bash_aliases
if [ -f "$file" ]; then
    source "$file"


alias ls='ls --color=auto'
alias lst='ls -clhtr'
alias up='sudo apt update && sudo apt full-upgrade -y'
alias mi='mediainfo'
alias htop='htop -C'
alias search='apt-cache search'
alias space2u="rename 's/ /_/g'"
alias dice='echo $(( RANDOM % 6 + 1 ))'
alias clock="tty-clock -C 4 -c -f ''"
alias fd='fdfind'


apt install mediainfo htop rename tty-clock fd-find

✨ Achievement unlocked: bash_aliases can be used in bash as well without any changes if needed.

remove bg colors in ls

# remove background colors
LS_COLORS=$LS_COLORS:'tw=00;33:ow=01;34:'; export LS_COLOR

✨ Achievement unlocked: ls readability improved.

min .vimrc

cd && wget

✨ Achievement unlocked: If you vim, then you know what this is.