4 ms·
If you make it a file and put it in your $PATH, you can also invoke it from within vim for example. I find myself using `!chmod +x` often from inside vim, so t
by frfl 3y ago
If you make it a file and put it in your $PATH, you can also invoke it from within vim for example.
I find myself using `!chmod +x` often from inside vim, so this will be quite nice, `!+x`
Edit: Sadly it doesn't work, trying to run `!+x %` in vim makes bash (my shell) treat `+x` like an option I believe.
- aodonnell2536 3y agoI don’t believe the `![command]` syntax in vim command mode has access to the user’s aliases
- frfl 3y agoYou're right about aliases. But an executable in your $PATH does work.