Skip to content

Commit 8697f2d

Browse files
authored
Update README.md
1 parent 29d4fe3 commit 8697f2d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Quick and dirty world clock for the command-line.
55
Install with:
66

77
```bash
8-
go get github.com/cv/t/cmd/t
8+
go install github.com/cv/t@master
99
```
1010

1111
And then:
@@ -18,6 +18,13 @@ JFK: 🕖 19:06:21 (America/New_York)
1818

1919
Any IATA airport code can be used, and will pick the timezone of that airport.
2020

21+
If `PS1_FORMAT` is set, the output will be simply the airport code and the time, with no decorations or newline:
22+
23+
```bash
24+
$ echo $(PS1_FORMAT=1 t sfo lon)
25+
SFO 17:47 LON 01:47
26+
```
27+
2128
That's it!
2229

2330
## License

0 commit comments

Comments
 (0)