You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 2:
alias idc='idc() { echo "$@"; }; idc'
^-- SC2142: Aliases can't use positional parameters. Use a function.
Line 3:
alias idk='i() { echo "$@"; }; i'
^-- SC2142: Aliases can't use positional parameters. Use a function.
Here's what I wanted or expected to see:
Nothing. Function is used in the alias definition.
The text was updated successfully, but these errors were encountered:
For bugs
SC2142
0.7.0
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
Here's what I wanted or expected to see:
Nothing. Function is used in the alias definition.
The text was updated successfully, but these errors were encountered: