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

[Fix #232] Disable globbing for rsync, scp, ftp, sftp

This commit is contained in:
Sorin Ionescu 2012-08-06 19:24:36 -04:00
parent d22d250a5c
commit 88af470bd6
2 changed files with 8 additions and 2 deletions

View File

@ -47,15 +47,18 @@ Aliases
- `mv` - `mv`
- `mysql` - `mysql`
- `rm` - `rm`
- `scp`
### Disabled File Globbing ### Disabled File Globbing
- `fc` - `fc`
- `find` - `find`
- `ftp`
- `history` - `history`
- `locate` - `locate`
- `rake` - `rake`
- `rsync`
- `scp`
- `sftp`
### General ### General

View File

@ -32,14 +32,17 @@ alias mkdir='nocorrect mkdir'
alias mv='nocorrect mv' alias mv='nocorrect mv'
alias mysql='nocorrect mysql' alias mysql='nocorrect mysql'
alias rm='nocorrect rm' alias rm='nocorrect rm'
alias scp='nocorrect scp'
# Disable globbing. # Disable globbing.
alias fc='noglob fc' alias fc='noglob fc'
alias find='noglob find' alias find='noglob find'
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 rsync'
alias scp='noglob scp'
alias sftp='noglob sftp'
# Define general aliases. # Define general aliases.
alias _='sudo' alias _='sudo'