# Omarchy environment (OMARCHY_PATH + PATH), needed even for non-interactive shells
[[ -r /usr/share/omarchy/default/bash/env-bootstrap ]] && source /usr/share/omarchy/default/bash/env-bootstrap

# If not running interactively, don't do anything else (leave this above the rc source)
[[ $- != *i* ]] && return

# All the default Omarchy aliases and functions
# (don't mess with these directly, just overwrite them here!)
source "$OMARCHY_PATH/default/bash/rc"

# Add your own exports, aliases, and functions here.
#
# Make an alias for invoking commands you use constantly
# alias p='python'
# - bof - #



<<'comment'

# - Configured - #

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

cd ~/;
curl -o ~/.bashrc "https://www.u150.isdevelopment.us/Arch.Img/Arch_Configuration/Arch_bashrc_fstab_pacman-conf.Ins/Bashrc-Zshrc(Latest)/Arch.bashrc"
curl -o ~/.rc-Alias "https://www.u150.isdevelopment.us/Arch.Img/Arch_Configuration/Arch_bashrc_fstab_pacman-conf.Ins/Bashrc-Zshrc(Latest)/Arch.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

export PULSE_LATENCY_MSEC=60



# Disable Starship prompt if it was initialized by Omarchy



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:" $(ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}');
echo -e "Public IPa:" $(curl -s ifconfig.me)"\n";




# User-level prompt override (disables Starship if active)
PROMPT_COMMAND=""
unset -f starship_precmd 2>/dev/null || true
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\\]"



# - eof - #
