mirror of
https://github.com/johnkerl/miller.git
synced 2026-08-04 05:23:20 +00:00
fix go/.vimrc; mlr repl uname-ish info
This commit is contained in:
parent
d47bc1ae16
commit
0a51db3fcd
2 changed files with 4 additions and 1 deletions
|
|
@ -1 +1,2 @@
|
|||
map \d :w<C-m>:!clear;echo Building ...; echo; build-go<C-m>
|
||||
map \f :w<C-m>:!clear;echo Building ...; echo; build; echo; main<C-m>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package repl
|
|||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime"
|
||||
|
||||
"golang.org/x/term"
|
||||
|
||||
|
|
@ -40,7 +41,8 @@ func getPrompt2() string {
|
|||
|
||||
func (this *Repl) printStartupBanner() {
|
||||
if this.inputIsTerminal {
|
||||
fmt.Printf("Miller %s\n", version.STRING) // TODO: inhibit if mlr repl -q
|
||||
// TODO: inhibit if mlr repl -q
|
||||
fmt.Printf("Miller %s for %s:%s:%s\n", version.STRING, runtime.GOOS, runtime.GOARCH, runtime.Version())
|
||||
fmt.Printf("Type ':help' for on-line help; ':quit' to quit.\n")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue