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:
@@ -156,3 +156,21 @@ source "$OSH"/oh-my-bash.sh
|
||||
# alias bashconfig="mate ~/.bashrc"
|
||||
# alias ohmybash="mate ~/.oh-my-bash"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user