A combination of vim and bash that I find useful
"message"
1 file changed, +3 -1
+3-1ghost.sh
| @@ -22,8 +22,10 @@ function vsource() { | ||
| 22 | 22 | } |
| 23 | 23 | function Gsend() { |
| 24 | 24 | local start=`pwd` |
| 25 | + local message=$@ | |
| 26 | + echo message | |
| 25 | 27 | cd ~/.ghost |
| 26 | - gcom '"'$@'"' | |
| 28 | + gcom '"'message'"' | |
| 27 | 29 | git push -u origin main |
| 28 | 30 | } |
| 29 | 31 |