alias/msys2: `shellcheck`

pull/2047/head
John D Pell 2022-01-16 13:01:44 -08:00
parent ea6cb6afec
commit 8d30275b8a
1 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,4 @@
#!/bin/bash
cite 'about-alias'
# shellcheck shell=bash
about-alias 'MSYS2 aliases'
LS_COMMON="-hG"
@ -9,7 +7,7 @@ LS_COMMON="$LS_COMMON -I NTUSER.DAT\* -I ntuser.dat\*"
# alias
# setup the main ls alias if we've established common args
test -n "$LS_COMMON" && alias ls="command ls $LS_COMMON"
alias ls='command ls ${LS_COMMON:-}'
alias ll="ls -l"
alias la="ls -a"
alias lal="ll -a"