mirror of
https://github.com/itme-brain/bash.git
synced 2026-03-23 17:59:44 -04:00
initial bash config
This commit is contained in:
commit
25d055514d
3 changed files with 165 additions and 0 deletions
15
aliases
Normal file
15
aliases
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue