Skip to content

Commit

Permalink
utility: remove usage of noremoteglob until bugs can be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
belak committed Dec 18, 2017
1 parent 66bfe9b commit 82d3265
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/utility/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ alias ftp='noglob ftp'
alias history='noglob history'
alias locate='noglob locate'
alias rake='noglob rake'
alias rsync='noglob noremoteglob rsync'
alias scp='noglob noremoteglob scp'
alias rsync='noglob rsync'
alias scp='noglob scp'
alias sftp='noglob sftp'

# Define general aliases.
Expand Down Expand Up @@ -223,6 +223,10 @@ function psu {
# Example:
# - Local: '*.txt', './foo:2017*.txt', '/var/*:log.txt'
# - 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 {
local -a argo
local cmd="$1"
Expand Down

0 comments on commit 82d3265

Please sign in to comment.