bash/aliases
2026-03-09 20:15:35 -04:00

15 lines
297 B
Text

# 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