initial bash config

This commit is contained in:
Bryan Ramos 2026-03-09 20:15:35 -04:00
commit 25d055514d
3 changed files with 165 additions and 0 deletions

15
aliases Normal file
View file

@ -0,0 +1,15 @@
# Navigation
alias cd='cd -L'
# Search
alias grep='grep --color'
# Tree (uses eza if available)
if command -v eza &>/dev/null; then
alias tree='eza --tree --icons=never'
fi
# Open (graphical environment only)
if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then
alias open='xdg-open'
fi