Skip to content

Commit 2182cf6

Browse files
committed
Prepare for PyPI release: v0.1.0
1 parent a9b8c41 commit 2182cf6

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ Natural language to shell command translator using Claude Haiku 4.5.
55
## Installation
66

77
```bash
8-
# Install globally with uv
9-
uv tool install git+https://github.com/dvirzg/autocmd.git
8+
# Install from PyPI (recommended)
9+
uv tool install autocmd-cli
1010

11-
# Or install from local directory
12-
cd /path/to/autocmd
13-
uv tool install .
11+
# Or install directly from git
12+
uv tool install git+https://github.com/dvirzg/autocmd.git
1413
```
1514

1615
## First Run Setup

autocmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
import sys, os, subprocess, re, getpass, shutil
2+
import sys, os, re, getpass, shutil
33
from pathlib import Path
44
from typing import Optional, Tuple
55
from anthropic import Anthropic
@@ -33,7 +33,7 @@ def setup_shell_integration() -> bool:
3333
print("Skipping shell integration. Commands will be printed only.", file=sys.stderr)
3434
return False
3535

36-
autocmd_cmd = shutil.which("autocmd") or "uv tool run autocmd"
36+
autocmd_cmd = shutil.which("autocmd") or "uv tool run --from autocmd-cli autocmd"
3737

3838
if shell_type == "zsh":
3939
wrapper = f'\n# autocmd\nautocmd() {{ local cmd=$({autocmd_cmd} "$@"); [ -n "$cmd" ] && print -z "$cmd"; }}\n'

0 commit comments

Comments
 (0)