From b57e74169b8ed87ec600fa702ab7122e29d902e4 Mon Sep 17 00:00:00 2001 From: Rylee Fowler Date: Sat, 24 Oct 2015 16:43:49 -0500 Subject: [PATCH] add codeblocks for command names in 9o.md --- 9o.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/9o.md b/9o.md index 6993b1c9..05764919 100644 --- a/9o.md +++ b/9o.md @@ -49,20 +49,20 @@ shell might override these variables with its own, epecilly in the case of `$PWD 9o's commands ================== -* help: Present documentation for 9o and its supported commands +* `help`: Present documentation for 9o and its supported commands -* build: build the current package +* `build`: build the current package -* run: build the current package. If it's a regular package run its tests otherwise(package main) +* `run`: build the current package. If it's a regular package run its tests otherwise(package main) execute it. e.g. `run` or `run -flag1 -flag2=abc` -* replay: like `run` but attempts to cancel any active executions before running +* `replay`: like `run` but attempts to cancel any active executions before running -* go: run the `go` command e.g. `go help` +* `go`: run the `go` command e.g. `go help` -* clear: clears the output panel +* `clear`: clears the output panel -* tskill: lists or cancels active tasks. +* `tskill`: lists or cancels active tasks. type `tskill` to show a palette containing a list of active tasks and their summary and cancel them where possible type `tskill [TASK ID]` to cancel the task. The task is represented by #TASK_ID. (you will be prompted with an ok/cancel dialog to confirm the action) @@ -74,30 +74,30 @@ shell might override these variables with its own, epecilly in the case of `$PWD `tskill replay` kill the last instance of the replay command `tskill go` kill the last instance of the go command `go run` etc. note, however that this may fail to actually kill the executable being run by `go run` -* settings: list settings as seen by GoSublime. +* `settings`: list settings as seen by GoSublime. type `settings` to get a listing of all settings. type `setting [NAME1] [NAME2] ...` to the value of the listed names -* env: list environment variables as seen/generated by GoSublime. +* `env`: list environment variables as seen/generated by GoSublime. type `env` to get a listing of all environment vars usable by GoSublime. type `env [NAME1] [NAME2] ...` to the value of the listed names -* share: share the active view's content on play.golang.org +* `share`: share the active view's content on play.golang.org -* hist: manage command history +* `hist`: manage command history type `hist` to list all historical commands type `hist erase` to erase all historical commands -* cd: change directory +* `cd`: change directory type `cd` to cd to the directory of the current file (like ctrl+9 does) type `cd ~/go` to cd to the `go` directory in your home directory type `cd $GOROOT/src/pkg/fmt` to cd the `src/pkg/fmt` in your GOROOT -* which: locate a command +* `which`: locate a command type `which` to list all builtins type `which cmd1 cmd2...` to locate the listed commands -* echo: output the specified arguments +* `echo`: output the specified arguments type `echo $_fn` to output the path to the current file (if it has a name on-disk) Executing commands