Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cd a
- for arg do
- cp t.cpp $arg.cpp
- geany $arg.cpp -l 22 & disown
- done
- #how it works:
- #- this is a simple, but very useful, bash script I wrote that
- #- can be used to quickly load up files from a template with a specific name
- #- If you don't use geany as your editor, or don't use c++ as your language, simply replace the
- #- corresponding words with your file extension and/or IDE
- #- "cd a" is just there to change the directory to that of the template
Advertisement
Add Comment
Please, Sign In to add comment