mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 11:39:26 +00:00
[Fix #202] Load modules all or nothing
This commit is contained in:
@ -7,6 +7,11 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# Return if requirements are not found.
|
||||
if (( ! $+commands[rails] )); then
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Aliases (Compatible with Rails 2)
|
||||
alias rc='_rails-command console'
|
||||
alias rdc='_rails-command dbconsole'
|
||||
|
Reference in New Issue
Block a user