Replace rake commands with bin/rails in aliases.
This commit is contained in:
parent
67c63699dc
commit
42a313bde1
3 changed files with 3 additions and 3 deletions
|
@ -223,7 +223,7 @@ Alias de Shell y scripts:
|
|||
|
||||
* `b` para `bundle`.
|
||||
* `g` sin argumentos es `git status` y con argumentos funciona como `git`.
|
||||
* `migrate` para `rake db:migrate && rake db:rollback && rake db:migrate`.
|
||||
* `migrate` para `bin/rails db:migrate db:rollback && bin/rails db:migrate db:test:prepare`.
|
||||
* `mcd` para crear un directorio e ir a él.
|
||||
* `replace foo bar **/*.rb` para buscar y reemplazar en una lista dada de archivos.
|
||||
* `tat` para adjuntar a una sesión de tmux llamada igual que el directorio actual.
|
||||
|
|
|
@ -224,7 +224,7 @@ Shell aliases and scripts:
|
|||
|
||||
* `b` for `bundle`.
|
||||
* `g` with no arguments is `git status` and with arguments acts like `git`.
|
||||
* `migrate` for `rake db:migrate db:rollback && rake db:migrate db:test:prepare`.
|
||||
* `migrate` for `bin/rails db:migrate db:rollback && bin/rails db:migrate db:test:prepare`.
|
||||
* `mcd` to make a directory and change into it.
|
||||
* `replace foo bar **/*.rb` to find and replace within a given list of files.
|
||||
* `tat` to attach to tmux session named the same as the current directory.
|
||||
|
|
2
aliases
2
aliases
|
@ -9,7 +9,7 @@ alias v="$VISUAL"
|
|||
alias b="bundle"
|
||||
|
||||
# Rails
|
||||
alias migrate="rake db:migrate db:rollback && rake db:migrate db:test:prepare"
|
||||
alias migrate="bin/rails db:migrate db:rollback && bin/rails db:migrate db:test:prepare"
|
||||
alias s="rspec"
|
||||
|
||||
# Pretty print the path
|
||||
|
|
Loading…
Add table
Reference in a new issue