diff options
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r-- | bash/bashrc.d/ssh.bash | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bash/bashrc.d/ssh.bash b/bash/bashrc.d/ssh.bash index 91d83e35..696e9b34 100644 --- a/bash/bashrc.d/ssh.bash +++ b/bash/bashrc.d/ssh.bash @@ -1,12 +1,3 @@ -# Wrap scp to check for missing colons -scp() { - if (($# >= 2)) && [[ $* != *:* ]] ; then - printf 'scp: Missing colon, probably an error\n' >&2 - return 1 - fi - command scp "$@" -} - # Completion for ssh/sftp/ssh-copy-id with config hostnames _ssh() { local word=${COMP_WORDS[COMP_CWORD]} |