Skip to content

Commit

Permalink
.bashrc refactor, updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rrotter committed Jan 3, 2025
1 parent 9702a42 commit d561236
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions files/root/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@
[ -z "$PS1" ] && return

# color, abbreviation
COLOR_OPTIONS='--color=auto'
eval "$(dircolors)"
alias l='ls'
alias ls='ls $COLOR_OPTIONS'
alias ll='ls $COLOR_OPTIONS -l'
alias la='ls $COLOR_OPTIONS -A'
alias lla='ls $COLOR_OPTIONS -lA'
alias grep='grep $COLOR_OPTIONS'
alias fgrep='fgrep $COLOR_OPTIONS'
alias egrep='egrep $COLOR_OPTIONS'
alias ls='ls --color=auto'
alias l='ls -F'
alias ll='ls -lh'
alias la='ls -A'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'

# history
HISTCONTROL=ignoredups:ignorespace
Expand Down

0 comments on commit d561236

Please sign in to comment.