4 ms·
Tab complete does not make using long arguments any easier. Here is the example the post reminded me to alias (well, script since I need to pass it arguments):
by cullenking 16y ago
Tab complete does not make using long arguments any easier. Here is the example the post reminded me to alias (well, script since I need to pass it arguments):
find app/views/ -name *haml -exec grep 'my_js_file.js' /dev/null '{}' \;
Lots of that can be done away with.
- brentmc79 16y agoExactly.
- Tekhne 16y agoActually, bash completion DOES help with long arguments or any arguments. It's true that you have to invest the time to write a completion script tailored for the commands you're interested in, but it can definitely be worth it (e.g. git completion).
- cullenking 16y agoCool, thanks for the tip!
- njharman 16y ago> Tab complete does not make using long arguments any easier. False. See other replies. And as I said in first post history. I use aliases, they have their place. But, if you're not learning and using the entire Unix toolbox you are severely handicapping yourself.