diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-04-02 15:35:31 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-04-02 15:35:31 +1300 |
commit | 8a1df304aa046c615b99d369254fade47853ecec (patch) | |
tree | ef6ea32f627edc6ab35996a1e149f9f1a858a11c /bash/bashrc.d | |
parent | Remove the ~/.vimrc.local search (diff) | |
download | dotfiles-8a1df304aa046c615b99d369254fade47853ecec.tar.gz dotfiles-8a1df304aa046c615b99d369254fade47853ecec.zip |
Move scp wrapper into its own file
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]} |