#!/bin/bash
# - bof - #



<<'comment'

# - Configured - #

# -  - #
# - Vim commands - #
https://vim.rtorr.com/

rm -rf ~/.bashrc;
nvim ~/.bashrc;

rm -rf ~/.zshrc;
nvim ~/.zshrc;

ssh-keygen -R 192.168.1.1

# - On client - #
cd ~/.ssh;
ssh-keygen -t rsa;

cat ~/.ssh/id_rsa.pub;

# - On server - #
nvim ~/.ssh/authorized_keys;

sudo apt install curl git htop inxi net-tools ntp neovim screenfetch tree -y;
sudo pacman -S curl git htop inxi net-tools ntp neovim screenfetch tree --noconfirm --needed;
comment



# :1
# -  - #
# - Arch - #


# :a
# -  - #
# - Novaspirit Zsh install Documentation - #
https://github.com/novaspirit/pimpyourterm


# :a.1
# -  - #
# - Install nerd fonts - #
sudo pacman -S nerd --noconfirm --needed;
sudo pacman -S nerd-fonts ttf-nerd-fonts-symbols-mono --noconfirm --needed;

Goto :h
More fonts



# :a.2
# -  - #
# - Install awesome fonts - #
sudo pacman -S ttf-font-awesome --noconfirm --needed;
sudo apt install fonts-font-awesome -y;


# :a.3
# -  - #
# - Install wezterm & yazi  - #
sudo pacman -S ffmpeg fd fzf imagemagick jq neovim p7zip poppler ripgrep wezterm yazi zoxide --noconfirm --needed;


# :a.4
# -  - #
# - Zsh Documentation - #
https://linuxips.com/how-to-install-zsh-on-arch-linux/


# :a.5
# -  - #
# - Install Zsh - #
sudo pacman -S zsh --noconfirm --needed;
sudo chsh -s /bin/zsh is_derayo;
cat /etc/passwd | grep is_derayo;
which zsh;


# :a.6
# -  - #
# - Install Zsh - #
Close & Open Terminal
(1) Continue to the maim manu
(2) Configure the new completion system
(1) Turn on completion with the default options
(q) Quit and do nothing else.



# :b
# -  - #
# - Install Oh My Zsh Documentation - #
https://github.com/ohmyzsh/ohmyzsh


# :b.1
# -  - #
# - Install Oh My Zsh - #
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"



# :c
# -  - #
# - Enable auto-suggestions on zsh - #
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions



# :d
# -  - #
# - And add zsh-autosuggestions in the plugins - #
nvim ~/.zshrc;
plugins=(git zsh-autosuggestions)

:wq


# -  - #
# - Terminal - #
zsh;



# :e
# -  - #
# - Enable syntax highlighting on Zsh - #
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

nvim ~/.zshrc;
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

:wq

zsh;



# :f
# -  - #
# - Powerlevek10k theme - #


# :f.1
# -  - #
# - Powerlevek10k theme Documentation - #
https://github.com/romkatv/powerlevel10k#oh-my-zsh


# :f.2
# -  - #
# - Install Powerlevek10k theme - #
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

nvim ~/.zshrc;

ZSH_THEME="robbyrussell"
ZSH_THEME="powerlevel10k/powerlevel10k"

:wq

zsh;



# :g
# -  - #
# - Reconfigure Powerlevek10k theme (terminal) - #
p10k configure;



# :h
# -  - #
# - Nerd-fonts Documentation - #
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraMono
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraMono/Regular


# :h.1
# -  - #
# - Install nerd-fonts in terminal Documentation - #
https://www.youtube.com/watch?v=Hb3PayVwEDA


# :h.2
# -  - #
# - Search nerd-fonts in terminal - #
pacman -Ss nerd;

extra/containerd 2.0.4-1
    An open and reliable container runtime
extra/otf-aurulent-nerd 3.3.0-1 (nerd-fonts)
    Patched font Aurulent Sans Mono from nerd fonts library
extra/otf-codenewroman-nerd 3.3.0-1 (nerd-fonts)
    Patched font Code New Roman from nerd fonts library
extra/otf-droid-nerd 3.3.0-1 (nerd-fonts)
    Patched font Droid Sans Mono from nerd fonts library
extra/otf-firamono-nerd 3.3.0-1 (nerd-fonts)
    Patched font Fira (Fura) Mono from nerd fonts library

extra/ttf-nerd-fonts-symbols 3.3.0-1 (nerd-fonts) [installed]
    High number of extra glyphs from popular 'iconic fonts'
extra/ttf-nerd-fonts-symbols-common 3.3.0-1 [installed]
    High number of extra glyphs from popular 'iconic fonts' (common files)
extra/ttf-nerd-fonts-symbols-mono 3.3.0-1 (nerd-fonts)
    High number of extra glyphs from popular 'iconic fonts' (monospace)


# :h.3
# -  - #
# - Install nerd-fonts in terminal - #
sudo pacman -S otf-firamono-nerd --noconfirm --needed;
sudo pacman -S ttf-meslo-nerd --noconfirm --needed;
sudo pacman -S ttf-nerd-fonts-symbols --noconfirm --needed;



<<'comment'
sudo chsh -s /bin/zsh root;
sudo chsh -s /bin/zsh;
comment



# :2
# -  - #
# - Ubuntu - #


# :a
# -  - #
# - Documentation - #
https://www.youtube.com/watch?v=80PHRWH84Tc


# :a.1
# -  - #
# - OhMyZsh website - #
https://linuxips.com/how-to-install-zsh-on-arch-linux/

# -  - #
# - NovaSpirit Zsh install Documentation - #
https://github.com/novaspirit/pimpyourterm


# :a.2
# -  - #
# - Install - #
sudo apt install zsh -y;
chsh -s $(which zsh);
Close & open terminal

Questions:
1
2
1
0 exit


# :a.3
# -  - #
# - Zsh themes - #
https://github.com/ohmyzsh/ohmyzsh/wiki/Themes

# - Plugins - #
https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins


# :a.4
# -  - #
# - Install OhMyZsh - #
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"


# :a.5
# -  - #
# - Zsh default theme - #
nvim .zshrc;

ZSH_THEME="jonathan"


# :a.6
# -  - #
# - Apply prugins - #
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

nvim .zshrc;
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)


# :a.7
# -  - #
# - Fonts: Nerd & Firamono - #
https://www.nerdfonts.com/

sudo apt install fonts-font-awesome -y;

Goto:

https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraMono

Regular
FiraMonoNerdFont-Regular.otf
Download file

Goto folder
Right click on font file
Open with fonts
Install


# :a.8
# -  - #
# - Install Powerlevel 10k - #
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

nvim .zshrc;
ZSH_THEME="powerlevel10k/powerlevel10k"

Close & open terminal


# :a.9
# -  - #
# - Install kitty terminal - #
sudo apt install kitty -y;





 

# - eof - #