Skip to content

Commit

Permalink
Keep exa aliases; always use ls colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewlustro committed Aug 17, 2017
1 parent 6d19e39 commit 957cf44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .inputrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set mark-symlinked-directories on
set mark-directories on

# Indicate an error when trying to use an undefined environment variable
set nounset on
# set nounset on

# Do not autocomplete hidden files unless the pattern explicitly begins with a dot
set match-hidden-files off
Expand Down
4 changes: 4 additions & 0 deletions .shell/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ if [ -x "$(which exa)" ]; then
alias ll="exa -lF --group-directories-first";
alias la="exa -la --group-directories-first";
alias lss="exa -la --group-directories-first -s size";

# Always use color output for `ls`
alias ls="command ls ${colorflag}"

else
# List all files colorized in long format
alias l="ls -lrthF ${colorflag}";
Expand Down

0 comments on commit 957cf44

Please sign in to comment.