Source directory creating script for competitive programmers who are using c++ and neovim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # template
- read -n 1 -r -s -p $'Press any key to create template file...\n'
- nvim .config.d/template.cpp
-
- # start line
- read -p $'Enter starting line of cursor:\n' line
- ((line=line-1))
- echo "$line"gg > .config.d/cursorpos
-
- # make all executable
- chmod +x create.sh
- chmod +x run.sh
- chmod +x .config.d/color.sh
- chmod +x .config.d/.nl
|