From 88af470bd6701bd51595ab5330e4d46a4838b40c Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Mon, 6 Aug 2012 19:24:36 -0400 Subject: [PATCH] [Fix #232] Disable globbing for rsync, scp, ftp, sftp --- modules/utility/README.md | 5 ++++- modules/utility/init.zsh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/utility/README.md b/modules/utility/README.md index 3687c1d..82525ec 100644 --- a/modules/utility/README.md +++ b/modules/utility/README.md @@ -47,15 +47,18 @@ Aliases - `mv` - `mysql` - `rm` - - `scp` ### Disabled File Globbing - `fc` - `find` + - `ftp` - `history` - `locate` - `rake` + - `rsync` + - `scp` + - `sftp` ### General diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index f4563a0..ebbb2c8 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -32,14 +32,17 @@ alias mkdir='nocorrect mkdir' alias mv='nocorrect mv' alias mysql='nocorrect mysql' alias rm='nocorrect rm' -alias scp='nocorrect scp' # Disable globbing. alias fc='noglob fc' alias find='noglob find' +alias ftp='noglob ftp' alias history='noglob history' alias locate='noglob locate' alias rake='noglob rake' +alias rsync='noglob rsync' +alias scp='noglob scp' +alias sftp='noglob sftp' # Define general aliases. alias _='sudo'