Skip to content

Commit

Permalink
make ls alias output better readible
Browse files Browse the repository at this point in the history
  • Loading branch information
Okeanos committed Nov 23, 2021
1 parent b8be43d commit 83a7a2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stow/shell/dot-aliases
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ else # macOS `ls`
fi

# List all files colorized in long format
alias l="ls -lF ${colorflag}"
alias l="ls -hlF ${colorflag}"

# List all files colorized in long format, excluding . and ..
alias la="ls -lAF ${colorflag}"
alias la="ls -hlAF ${colorflag}"

# List only directories
alias lsd="ls -lF ${colorflag} | grep --color=never '^d'"
alias lsd="ls -hlF ${colorflag} | grep --color=never '^d'"

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

0 comments on commit 83a7a2f

Please sign in to comment.