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 @@ -47,15 +47,18 @@ Aliases
- `mv`
- `mysql`
- `rm`
- `scp`
### Disabled File Globbing
- `fc`
- `find`
- `ftp`
- `history`
- `locate`
- `rake`
- `rsync`
- `scp`
- `sftp`
### General

5
modules/utility/init.zsh

@ -32,14 +32,17 @@ alias mkdir='nocorrect mkdir' @@ -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'

Loading…
Cancel
Save