This commit is contained in:
pika 2025-05-25 22:41:22 +02:00
parent 41c9126080
commit bd9ad013a4
2 changed files with 28 additions and 7 deletions

View file

@ -1,10 +1,23 @@
# Define color variables
RED='\033[0;31m'
YELLOW='\033[0;33m'
CYAN='\033[0;36m'
GREEN='\033[1;32m'
NC='\033[0m' # No Color
BOLD='\033[1m'
# Basic Colors
BLACK=$'\e[30m'
RED=$'\e[31m'
GREEN=$'\e[32m'
YELLOW=$'\e[33m'
BLUE=$'\e[34m'
MAGENTA=$'\e[35m'
CYAN=$'\e[36m'
WHITE=$'\e[37m'
# Styles
BOLD=$'\e[1m'
ITALIC=$'\e[3m'
UNDERLINE=$'\e[4m'
BLINK=$'\e[5m' # May not work in all terminals
INVERT=$'\e[7m' # Invert foreground/background
STRIKE=$'\e[9m' # Strikethrough
# Reset
NC=$'\e[0m' # Reset all styles/colors
# Functions to store messages
echo_error() {
@ -26,6 +39,8 @@ echo_info() {
alias sudo="sudo -E"
alias please="sudo"
alias whoami="command echo 'Ghost in a shell..'"
# ─< easier dir up >────────────────────────────────────────────────────────────────────────
alias ..="cd .."