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.
 
 

16 wiersze
312 B

  1. #!/bin/sh
  2. # template
  3. read -p 'Press Enter to create a template...' line
  4. nvim .config.d/template.cpp
  5. # starting line
  6. read -p "Enter the starting line: " line
  7. echo "$line"gg > .config.d/cursorpos
  8. # make everything executable
  9. chmod +x create.sh
  10. chmod +x run.sh
  11. chmod +x .config.d/color.sh
  12. chmod +x .config.d/.nl