Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ROOT=$HOME/notes
- notes(){
- (cd $ROOT
- git pull
- echo $1 >> notes
- git add notes
- git commit -m "new note"
- git push
- )
- }
- readlater(){
- (
- cd $ROOT
- git pull;
- echo $1 >> readlater
- git add readlater
- git commit -m "new note"
- git push
- )
- }
- showReadlater(){
- (
- cd $ROOT
- git pull;
- vim readlater
- git add readlater
- git commit -m "showed readlater"
- git push
- )
- }
- showNotes(){
- (
- cd $ROOT
- git pull;
- vim notes
- git add notes
- git commit -m "showed note"
- git push
- )
- }
Add Comment
Please, Sign In to add comment