Browse Source

Added pull and enhanced mkr-update to require no shell restart

pull/1/head
Muthu Kumar 7 years ago
parent
commit
7c02de4c0c
  1. 11
      scripts/mkr.sh

11
scripts/mkr.sh

@ -47,6 +47,16 @@ rmd () {
# Git commands # Git commands
## pull
## Usage: pull [remote branch]
pull () {
if [ "$1" ]; then
git pull "$1" "$2"
else
git pull
fi
}
## commit ## commit
## Usage: commit <commit-message> ## Usage: commit <commit-message>
commit () { commit () {
@ -94,4 +104,5 @@ stop () {
## Usage: mkr-update ## Usage: mkr-update
mkr-update () { mkr-update () {
curl https://raw.githubusercontent.com/MKRhere/wiki/master/scripts/mkr.sh -o ~/.mkr/mkr.sh curl https://raw.githubusercontent.com/MKRhere/wiki/master/scripts/mkr.sh -o ~/.mkr/mkr.sh
source ~/.mkr/mkr.sh
} }
Loading…
Cancel
Save