# Terminal Life
## AI
### LLM
- [[tenere]]
- [simonw/llm: Access large language models from the command-line](https://github.com/simonw/llm)
## Editor
- [Micro - Home](https://micro-editor.github.io/)
## References
- [GitHub - jlevy/the-art-of-command-line: Master the command line, in one page](https://github.com/jlevy/the-art-of-command-line)
## Basic
### sshs
[GitHub - quantumsheep/sshs: Terminal user interface for SSH](https://github.com/quantumsheep/sshs)
```sh
brew install sshs
```
### Login message
```sh
echo "Welcome to sushi 🍣" > /tmp/motd
sudo mv /tmp/motd /etc
```
### HSTR
[GitHub - dvorka/hstr: bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.](https://github.com/dvorka/hstr)
```sh
sudo apt install hstr
```
```sh
brew install hstr
```
```sh
hstr --show-zsh-configuration >> ~/.zprofile
```
append `export HISTFILE=${HOME}/.dotfiles/.zsh-history` to `~/.zprofile`
## Utilities
### todo.txt
[[Public/Tech 💻/Terminal/todo.txt|todo.txt]]
### Google Calendar
[GitHub - insanum/gcalcli: Google Calendar Command Line Interface](https://github.com/insanum/gcalcli)
```sh
brew install gcalcli
```
or
```sh
pip install gcalcli[vobject]
# OR: pipx install gcalcli[vobject]
```
```
init initialize authentication, etc
list list available calendars
edit edit calendar events
agenda get an agenda for a time period
updates get updates since a datetime for a time period
calw get a week-based agenda in calendar format
calm get a month agenda in calendar format
quick quick-add an event to a calendar
add add a detailed event to the calendar
import import an ics/vcal file to a calendar
remind execute command if event occurs within <mins> time
```
```sh
gcalcli config edit
```
```sh
watch -n 1800 -c -t gcalcli calw
```
### Weather
[GitHub - chubin/wttr.in: The right way to check the weather](https://github.com/chubin/wttr.in)
```sh
curl wttr.in/Fukuoka
```