1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 12:48:01 +00:00

utility: remove usage of noremoteglob until bugs can be fixed

Fixes #1443, #1521
This commit is contained in:
Kaleb Elwert 2017-12-18 13:35:19 -08:00
parent 66bfe9be27
commit 82d3265ad5

View File

@ -41,8 +41,8 @@ alias ftp='noglob ftp'
alias history='noglob history' alias history='noglob history'
alias locate='noglob locate' alias locate='noglob locate'
alias rake='noglob rake' alias rake='noglob rake'
alias rsync='noglob noremoteglob rsync' alias rsync='noglob rsync'
alias scp='noglob noremoteglob scp' alias scp='noglob scp'
alias sftp='noglob sftp' alias sftp='noglob sftp'
# Define general aliases. # Define general aliases.
@ -223,6 +223,10 @@ function psu {
# Example: # Example:
# - Local: '*.txt', './foo:2017*.txt', '/var/*:log.txt' # - Local: '*.txt', './foo:2017*.txt', '/var/*:log.txt'
# - Remote: user@localhost:foo/ # - Remote: user@localhost:foo/
#
# NOTE: This function is buggy and is not used anywhere until we can make sure
# it's fixed. See https://github.com/sorin-ionescu/prezto/issues/1443 and
# https://github.com/sorin-ionescu/prezto/issues/1521 for more information.
function noremoteglob { function noremoteglob {
local -a argo local -a argo
local cmd="$1" local cmd="$1"