mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 10:29:25 +00:00
Increase heading readability
This commit is contained in:
@ -12,7 +12,10 @@ if (( ! $+commands[rails] )); then
|
||||
return 1
|
||||
fi
|
||||
|
||||
#
|
||||
# Aliases (Compatible with Rails 2)
|
||||
#
|
||||
|
||||
alias rc='_rails-command console'
|
||||
alias rdc='_rails-command dbconsole'
|
||||
alias rdm='rake db:migrate'
|
||||
@ -27,7 +30,10 @@ alias rs='_rails-command server'
|
||||
alias rsd='_rails-command server --debugger'
|
||||
alias rx='_rails-command destroy'
|
||||
|
||||
#
|
||||
# Functions
|
||||
#
|
||||
|
||||
function _rails-command {
|
||||
if [[ -e "script/server" ]]; then
|
||||
ruby script/"$@"
|
||||
|
Reference in New Issue
Block a user