Add oh-my-bash, fastfetch, and eza configurations

- Updated bash/.bashrc with oh-my-bash framework
  - Theme: agnoster
  - Plugins: git, bashmarks
  - Completions: git, composer, ssh

- Added fastfetch configuration (replaces neofetch)
  - Created fastfetch/.config/fastfetch/config.jsonc
  - Clean modern layout with cyan-colored keys
  - Displays system info, hardware, and color palette

- Replaced exa with eza (maintained fork)
  - Added alias: ls='eza -l --color=always --group-directories-first'
  - Included color support for grep commands
  - Added convenience aliases: ll, la, l

- Updated setup.sh to include fastfetch in stow packages
- Configured bashrc to run fastfetch on terminal startup
- Added ~/.local/bin to PATH for custom binaries
This commit is contained in:
2026-01-18 14:55:51 -05:00
parent c318d8ffdb
commit 2f8cbfc515
3 changed files with 160 additions and 1 deletions
+18
View File
@@ -156,3 +156,21 @@ source "$OSH"/oh-my-bash.sh
# alias bashconfig="mate ~/.bashrc" # alias bashconfig="mate ~/.bashrc"
# alias ohmybash="mate ~/.oh-my-bash" # alias ohmybash="mate ~/.oh-my-bash"
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"
# Enable color support for various commands
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
# Use eza (modern ls replacement) with colors and directory grouping
alias ls='eza -l --color=always --group-directories-first'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
# Additional ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Run fastfetch on terminal startup
fastfetch
+141
View File
@@ -0,0 +1,141 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "auto",
"padding": {
"top": 1,
"right": 3
}
},
"display": {
"separator": " → ",
"color": "green"
},
"modules": [
{
"type": "title",
"format": "{user-name}@{host-name}"
},
{
"type": "separator"
},
{
"type": "os",
"key": "OS",
"keyColor": "cyan"
},
{
"type": "host",
"key": "Host",
"keyColor": "cyan"
},
{
"type": "kernel",
"key": "Kernel",
"keyColor": "cyan"
},
{
"type": "uptime",
"key": "Uptime",
"keyColor": "cyan"
},
{
"type": "packages",
"key": "Packages",
"keyColor": "cyan"
},
{
"type": "shell",
"key": "Shell",
"keyColor": "cyan"
},
{
"type": "display",
"key": "Display",
"keyColor": "cyan"
},
{
"type": "de",
"key": "DE",
"keyColor": "cyan"
},
{
"type": "wm",
"key": "WM",
"keyColor": "cyan"
},
{
"type": "wmtheme",
"key": "WM Theme",
"keyColor": "cyan"
},
{
"type": "theme",
"key": "Theme",
"keyColor": "cyan"
},
{
"type": "icons",
"key": "Icons",
"keyColor": "cyan"
},
{
"type": "terminal",
"key": "Terminal",
"keyColor": "cyan"
},
{
"type": "terminalfont",
"key": "Terminal Font",
"keyColor": "cyan"
},
{
"type": "cpu",
"key": "CPU",
"keyColor": "cyan"
},
{
"type": "gpu",
"key": "GPU",
"keyColor": "cyan"
},
{
"type": "memory",
"key": "Memory",
"keyColor": "cyan"
},
{
"type": "disk",
"key": "Disk (/)",
"keyColor": "cyan"
},
{
"type": "localip",
"key": "Local IP",
"keyColor": "cyan",
"format": "{ipv4}"
},
{
"type": "battery",
"key": "Battery",
"keyColor": "cyan"
},
{
"type": "poweradapter",
"key": "Power",
"keyColor": "cyan"
},
{
"type": "locale",
"key": "Locale",
"keyColor": "cyan"
},
{
"type": "break"
},
{
"type": "colors",
"symbol": "circle"
}
]
}
+1 -1
View File
@@ -5,7 +5,7 @@ set -e
DOTFILES_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" DOTFILES_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Packages to stow # Packages to stow
PACKAGES=(bash kitty) PACKAGES=(bash kitty fastfetch)
echo "Setting up dotfiles from $DOTFILES_DIR" echo "Setting up dotfiles from $DOTFILES_DIR"