Blame bash-completion-20060301-scp-apos-217178.patch
|
Ville Skyttä |
1a7a34 |
--- bash_completion~ 2006-03-01 18:20:18.000000000 +0200
|
|
Ville Skyttä |
1a7a34 |
+++ bash_completion 2006-12-26 14:01:59.000000000 +0200
|
|
Ville Skyttä |
1a7a34 |
@@ -2589,6 +2589,7 @@
|
|
Ville Skyttä |
1a7a34 |
COMPREPLY=( $( ssh -o 'Batchmode yes' $userhost \
|
|
Ville Skyttä |
1a7a34 |
command ls -aF1d "$path*" 2>/dev/null | \
|
|
Ville Skyttä |
1a7a34 |
sed -e 's/[][(){}<>",:;^&!$&=?`|\ ]/\\\\\\&/g' \
|
|
Ville Skyttä |
1a7a34 |
+ -e "s/'/\\\\\\\\\\\\&/g" \
|
|
Ville Skyttä |
1a7a34 |
-e 's/[*@|=]$//g' -e 's/[^\/]$/& /g' ) )
|
|
Ville Skyttä |
1a7a34 |
return 0
|
|
Ville Skyttä |
1a7a34 |
fi
|
|
Ville Skyttä |
1a7a34 |
@@ -2597,6 +2598,7 @@
|
|
Ville Skyttä |
1a7a34 |
COMPREPLY=( ${COMPREPLY[@]} $( command ls -aF1d $cur* \
|
|
Ville Skyttä |
1a7a34 |
2>/dev/null | sed \
|
|
Ville Skyttä |
1a7a34 |
-e 's/[][(){}<>",:;^&!$&=?`|\ ]/\\&/g' \
|
|
Ville Skyttä |
1a7a34 |
+ -e "s/'/\\\\&/g" \
|
|
Ville Skyttä |
1a7a34 |
-e 's/[*@|=]$//g' -e 's/[^\/]$/& /g' ) )
|
|
Ville Skyttä |
1a7a34 |
return 0
|
|
Ville Skyttä |
1a7a34 |
}
|