diff --git a/scripts/mkr.sh b/scripts/mkr.sh index dadf37c..34a6787 100644 --- a/scripts/mkr.sh +++ b/scripts/mkr.sh @@ -17,13 +17,15 @@ alias install="sudo apt-get install" # Directory management -## mk +## mk +## Usage: mk ## Makes a new directory and enters it mk () { mkdir "$1" cd "$_" } +## rmd ## Usage: rmd [dir] ## Use with caution: Removes current working directory and changes to one up level ## If an argument is passed, simply deletes that file or folder from current working directory @@ -40,7 +42,15 @@ rmd () { # Git commands -## Usage: push "" [remote branch] +## commit +## Usage: commit +commit () { + git add . + git commit -m "$1" +} + +## push +## Usage: push [remote branch] ## if only commit message is present, pushes to default upstream push () { @@ -55,14 +65,20 @@ push () { # Systemctl commands +## status +## Usage: status status () { sudo systemctl status "$1" } +## start +## Usage: start start () { sudo systemctl start "$1" } +## stop +## Usage: stop stop () { sudo systemctl stop "$1" } \ No newline at end of file