Skip to content

Commit f47b6af

Browse files
committed
Disable overzealous shellcheck warnings
1 parent 20e6342 commit f47b6af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

zsh/.zsh_aliases

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ fi
3636

3737
export CVS_RSH=ssh
3838

39+
# shellcheck disable=SC2142
3940
alias historysummary="history | awk '{a[\$2]++} END{for(i in a){printf \"%5d\t%s\n\",a[i],i}}' | sort -rn | head"
4041

4142
if [ -x /bin/vim ]; then
@@ -76,6 +77,7 @@ alias external_ip="curl -s icanhazip.com"
7677
alias myip="dig +short myip.opendns.com @resolver1.opendns.com"
7778

7879
# Show laptop's IP addresses
80+
# shellcheck disable=2139
7981
alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'"
8082

8183
alias reattach="screen -r"
@@ -151,6 +153,7 @@ alias ...="cd ../.."
151153

152154
# Honor old .zsh_aliases.local customizations, but print depecation warning.
153155
if [ -f ~/.zsh_aliases.local ]; then
156+
# shellcheck disable=SC1090
154157
source ~/.zsh_aliases.local
155158
echo ".zsh_aliases.local is deprecated. Make entries in files in ~/.zshrc.d instead."
156159
fi

0 commit comments

Comments
 (0)