Source directory creating script for competitive programmers who are using c++ and neovim
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

15 wiersze
329 B

  1. # template
  2. read -n 1 -r -s -p $'Press any key to create template file...\n'
  3. nvim .config.d/template.cpp
  4. # start line
  5. read -p $'Enter starting line of cursor:\n' line
  6. ((line=line-1))
  7. echo "$line"gg > .config.d/cursorpos
  8. # make all executable
  9. chmod +x create.sh
  10. chmod +x run.sh
  11. chmod +x .config.d/color.sh
  12. chmod +x .config.d/.nl