@@ -26,7 +26,7 @@ This tool is written in [Go](http://golang.org/). If you want to compile it, you
2626### Go distribution
2727
2828```
29- go get github.com/TomasTomecek/tmux-top/cmd/tmux-top
29+ $ go get github.com/TomasTomecek/tmux-top/cmd/tmux-top
3030```
3131
3232When the command succeeds, ` tmux-top ` binary is placed in directory ` ${GOPATH}/bin ` .
@@ -35,20 +35,26 @@ When the command succeeds, `tmux-top` binary is placed in directory `${GOPATH}/b
3535### Manual installation
3636
3737```
38- git clone https://github.com/TomasTomecek/tmux-top.git
38+ $ git clone https://github.com/TomasTomecek/tmux-top.git
3939```
4040
41- Once cloned, compile it using well-known process :
41+ Let's install dependencies now :
4242
4343```
44- make
45- sudo make install
44+ $ go get gopkg.in/urfave/cli.v1
45+ ```
46+
47+ We can compile and install now:
48+
49+ ```
50+ $ make
51+ $ sudo make install
4652```
4753
4854Usage
4955-----
5056
51- There are three subcommands at the moment:
57+ There are four subcommands at the moment:
5258
5359 1 . ` tmux-top load ` — load of your workstation
5460 2 . ` tmux-top mem ` — actual memry usage and total memory
@@ -102,8 +108,8 @@ Your configuration may look like this:
102108and tmux configuration:
103109
104110``` shell
105- set -g status-left " #(tmux-top n)"
106- set -g status-right " #(tmux-top m) #[fg=white]:: #(tmux-top l)"
111+ $ set -g status-left " #(tmux-top n)"
112+ $ set -g status-right " #(tmux-top m) #[fg=white]:: #(tmux-top l)"
107113```
108114
109115Layout inspiration from [ this blog post] ( http://zanshin.net/2013/09/05/my-tmux-configuration/ ) .
0 commit comments