Skip to content

Commit

Permalink
Merge pull request #166 from codepuncher/2024-02-18
Browse files Browse the repository at this point in the history
feat(sh): update `ls` aliases
  • Loading branch information
codepuncher authored Feb 18, 2024
2 parents 557bf7e + e9257b2 commit 646e3c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions shell/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,12 @@ fi
alias mkdir='mkdir -p'
## Ensure coloured output on ls
if [[ "${OSTYPE:0:6}" =~ ^linux.* ]]; then
alias ls='ls --color'
alias ls='ls --color -F'
elif [[ "${OSTYPE:0:6}" = "darwin" ]]; then
alias ls='ls -G'
alias ls='ls -GF'
fi
alias ll='ls -alh'
alias ll='ls -lhiF'
alias lla='ls -lAhiF'
if [[ "${OSTYPE:0:6}" =~ ^linux.* ]]; then
alias open='xdg-open'
fi
Expand Down

0 comments on commit 646e3c3

Please sign in to comment.