We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29d4fe3 commit 8697f2dCopy full SHA for 8697f2d
README.md
@@ -5,7 +5,7 @@ Quick and dirty world clock for the command-line.
5
Install with:
6
7
```bash
8
-go get github.com/cv/t/cmd/t
+go install github.com/cv/t@master
9
```
10
11
And then:
@@ -18,6 +18,13 @@ JFK: 🕖 19:06:21 (America/New_York)
18
19
Any IATA airport code can be used, and will pick the timezone of that airport.
20
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
28
That's it!
29
30
## License
0 commit comments