]> git.lizzy.rs Git - micro.git/commitdiff
Update readme v2.0.0
authorZachary Yedidia <zyedidia@gmail.com>
Tue, 11 Feb 2020 21:40:15 +0000 (16:40 -0500)
committerZachary Yedidia <zyedidia@gmail.com>
Tue, 11 Feb 2020 21:40:15 +0000 (16:40 -0500)
README.md

index a50d98be5b506be5569a13e138c2636dda5e95d8..9b4cff4f36fb73bcd904b312f0f63b5e4f49e371 100644 (file)
--- a/README.md
+++ b/README.md
@@ -145,6 +145,16 @@ You can install directly with `go get` (`go get github.com/zyedidia/micro/cmd/mi
 recommended because it doesn't build micro with version information (necessary for the plugin manager),
 and doesn't disable debug mode.
 
+### Fully static binary
+
+By default, the micro binary will dynamically link with core system libraries (this is generally
+recommended for security and portability). However, there is a fully static prebuilt binary that
+is provided for amd64 as `linux-static.tar.gz`, and to build a fully static binary from source, run
+
+```
+CGO_ENABLED=0 make build
+```
+
 ### macOS terminal
 
 If you are using macOS, you should consider using [iTerm2](http://iterm2.com/) instead of the default terminal (Terminal.app). The iTerm2 terminal has much better mouse support as well as better handling of key events. For best keybinding behavior, choose `xterm defaults` under `Preferences->Profiles->Keys->Load Preset`. The newest versions also support true color.