Skip to content

Commit 1676af9

Browse files
committed
[cli] Slightly improve zsh completions
1 parent 3d48bda commit 1676af9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

completions/bun.zsh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ _bun() {
3737
# Load custom completion commands
3838
case "$(__bun_first_cmd)" in
3939
create)
40+
_files
4041
return;
4142
;;
4243
dev)
4344
return;
4445
;;
4546
bun)
47+
_files
4648
return;
4749
;;
4850
upgrade)
@@ -53,6 +55,7 @@ _bun() {
5355
;;
5456
run)
5557
_bun_run
58+
return;
5659
;;
5760
esac
5861

0 commit comments

Comments
 (0)