DEV Community 👩‍💻👨‍💻

Cover image for ⏩ Fairly helpful terminal aliases for Ruby on Rails development
Flavio Wuensche for Doctolib Engineering

Posted on • Updated on

⏩ Fairly helpful terminal aliases for Ruby on Rails development

Moved to Medium:
https://fwuensche.medium.com/fairly-helpful-terminal-aliases-for-ruby-on-rails-development-f6481c5715c6

Top comments (3)

Collapse
 
pabuisson profile image
Pierre-Adrien Buisson

I also like to use:

gp='git pull'
gf='git fetch'
gd='git diff'
Enter fullscreen mode Exit fullscreen mode

And for the routes, you might want to have a look at fzf, a fuzzy-finder you might already know. You can pipe anything to fzf.... rails routes for instance 😇

$ rails route | fzf
Enter fullscreen mode Exit fullscreen mode

and boum, you can fuzzy search on all your routes (prefixing your search with a simple quote switch to exact search). Pretty useful!

Collapse
 
fwuensche profile image
Flavio Wuensche • Edited on

Thanks! Just added your suggestions to the post too :)

Collapse
 
trisrevill profile image
Tris Revill

This is so smart!!

Super Useful CSS Resources

A collection of 70 hand-picked, web-based tools which are actually useful.
Each will generate pure CSS without the need for JS or any external libraries.