Browse Source

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

master
Sorin Ionescu 12 years ago
parent
commit
88af470bd6
  1. 5
      modules/utility/README.md
  2. 5
      modules/utility/init.zsh

5
modules/utility/README.md

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

5
modules/utility/init.zsh

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

Loading…
Cancel
Save