|
|
@ -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" |
|
|
|