# - bof - #



<<'comment'

# - Configured - #



sudo pacman -S eza --noconfirm --needed;
sudo apt install eza -y;



cd ~/;
curl -o ~/.bashrc https://www.education.isdevelopment.us/Arch.Ins/Software.Ins/Bashrc-Zshrc.Ins/Ubuntu.bashrc
curl -o ~/.rc-Alias https://www.education.isdevelopment.us/Arch.Ins/Software.Ins/Bashrc-Zshrc.Ins/Ubuntu.rc-Alias
source .bashrc;
sudo cp .bashrc .rc-Alias /root/;



# -  - #
# - 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



# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Add nano as default editor

export PULSE_LATENCY_MSEC=60



# -  - #
# - Arch.bashrc - #
#PS1="\[\e[01;31m\]┌─[\[\e[01;35m\u\e[01;31m\]]──[\[\e[00;37m\]${HOSTNAME%%.*}\[\e[01;32m\]]:\w$\[\e[01;31m\]\n\[\e[01;31m\]└──\[\e[01;36m\]>> \[\e[0m\]"

# -  - #
# - Ubuntu.bashrc - #
PS1='\e[01;33m╭── # \e[01;34m\u\e[01;32m@\e[01;34m\h \e[01;33m\w :\e[01;33m\n╰─▷ $ '



sAlias_=~/.rc-Alias;
if [ -f "$sAlias_" ]; then
   source $sAlias_; fi; 



clear;
if [[ "$USER" == "root" ]]; then cd ~/; fi;
fastfetch;



# -  - #
# - Local & public IPa - #
echo -e "\n Local IPa:" $(hostname -I | awk '{print $1}')
echo -e "Public IPa:" $(wget -qO- http://ipecho.net/plain)"\n";


# - eof - #
