DEV Community 👩‍💻👨‍💻

Discussion on: ⏩ Fairly helpful terminal aliases for Ruby on Rails development

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!

fwuensche profile image
Flavio Wuensche Author • Edited on

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