diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 14:16:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 14:16:22 +1300 |
commit | 4f674a8355ec3db6d491e83fdf6e0961e61c1486 (patch) | |
tree | 16d6ea978ab591e33060694dbf89531cf4a57b29 /bash/bashrc.d | |
parent | Remove redundant return short-circuit (diff) | |
download | dotfiles-4f674a8355ec3db6d491e83fdf6e0961e61c1486.tar.gz dotfiles-4f674a8355ec3db6d491e83fdf6e0961e61c1486.zip |
Suppress a couple of ShellCheck errors
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r-- | bash/bashrc.d/pushd.bash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bashrc.d/pushd.bash b/bash/bashrc.d/pushd.bash index ec621037..e708d3e8 100644 --- a/bash/bashrc.d/pushd.bash +++ b/bash/bashrc.d/pushd.bash @@ -1,4 +1,5 @@ # Make pushd default to $HOME if no arguments given, much like cd pushd() { + # shellcheck disable=SC2164 builtin pushd "${@:-"$HOME"}" } |