Skip to content

Commit

Permalink
Added exa command as default instead of ls command
Browse files Browse the repository at this point in the history
  • Loading branch information
talesam committed May 4, 2024
1 parent a420f6e commit 1e7e113
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions pkgbuild/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ depends=('fzf'
'bat'
'biglinux-nano-config'
'blesh-git'
'exa'
'grc'
'ripgrep'
'ttf-meslo-nerd-font-powerlevel10k'
Expand Down
18 changes: 13 additions & 5 deletions usr/share/biglinux/bash-config/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,24 @@ esac
# Enable color support and set related aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
# alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
fi

# More ls aliases
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
# Complete substitution of the ls command with exa
alias ls='exa'

# Redefine ls options to exa equivalents
alias ll='exa -l'
alias la='exa -a'
alias l='exa -F'

# # More ls aliases
# alias ll='ls -l'
# alias la='ls -A'
# alias l='ls -CF'

# Load Blesh for enhanced interactive shell experience
if [[ -f /usr/share/blesh/ble.sh ]] && [[ ! -f ~/.bash-normal ]] && [[ $TERM != linux ]]; then
Expand Down

0 comments on commit 1e7e113

Please sign in to comment.