diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-19 23:22:51 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-19 23:22:51 +1200 |
commit | 6daae9a75afa12f929be810a52ad21139233adfa (patch) | |
tree | 409f8935029dca341ee4809581d375bd3a42cae4 /bash/bashrc.d/scp.bash | |
parent | Merge branch 'master' into freebsd (diff) | |
parent | Update documentation for br(1) and xgo(1) (diff) | |
download | dotfiles-6daae9a75afa12f929be810a52ad21139233adfa.tar.gz dotfiles-6daae9a75afa12f929be810a52ad21139233adfa.zip |
Merge branch 'master' into freebsd
Diffstat (limited to 'bash/bashrc.d/scp.bash')
-rw-r--r-- | bash/bashrc.d/scp.bash | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bash/bashrc.d/scp.bash b/bash/bashrc.d/scp.bash deleted file mode 100644 index cd2f8521..00000000 --- a/bash/bashrc.d/scp.bash +++ /dev/null @@ -1,10 +0,0 @@ -# Wrap scp(1) to check for missing colons -scp() { - # shellcheck disable=SC2048 - if (($# >= 2)) && [[ $* != *:* ]] ; then - printf 'bash: %s: Missing colon, probably an error\n' \ - "$FUNCNAME" >&2 - return 2 - fi - command scp "$@" -} |