Skip to content

Commit 4208a5a

Browse files
committed
Merge branch 'release/v1.0.0'
2 parents 74d370b + 11df037 commit 4208a5a

File tree

4 files changed

+30
-18
lines changed

4 files changed

+30
-18
lines changed

.github/assets/preview.gif

-344 KB
Loading

LICENSE renamed to LICENSE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Copyright (c) 2023 Bruno Sales <me@baliestri.dev>
1+
# The MIT License (MIT)
2+
3+
Copyright (c) `2023-2025` `Bruno Sales <me@baliestri.dev>`
24

35
Permission is hereby granted, free of charge, to any person obtaining a copy
46
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,46 +8,56 @@
88
</a>
99
</p>
1010

11-
Plugin for skipping the `node` part from the `ace` command.
11+
Plugin for skipping the `node` part from the `ace` command. Supports AdonisJS v5 and v6.
1212

1313
## Preview
1414

1515
![](.github/assets/preview.gif)
1616

1717
## Installation
1818

19-
### Using Oh-My-Zsh
19+
#### [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)
2020

21-
```bash
22-
git clone https://github.com/baliestri/adonisjs.plugin.zsh.git $ZSH_CUSTOM/plugins/adonisjs
21+
```shell
22+
git clone https://github.com/empresslabs/adonisjs.plugin.zsh.git $ZSH_CUSTOM/plugins/adonisjs
2323
```
2424

25-
```bash
25+
```shell
2626
~/.zshrc
2727
plugins=(... adonisjs)
2828
```
2929

30-
### Using Zinit
30+
#### [zinit](https://github.com/zdharma-continuum/zinit)
3131

32-
```bash
33-
zinit light baliestri/adonisjs.plugin.zsh
32+
```shell
33+
zinit light empresslabs/adonisjs.plugin.zsh
3434
```
3535

36-
### Using Zi
36+
#### [zi](https://github.com/z-shell/zi)
3737

38-
```bash
39-
zi light baliestri/adonisjs.plugin.zsh
38+
```shell
39+
zi light empresslabs/adonisjs.plugin.zsh
4040
```
4141

42-
### Using Zgenom
42+
#### [zgenom](https://github.com/jandamm/zgenom)
4343

44-
```bash
45-
zgenom load baliestri/adonisjs.plugin.zsh
44+
```shell
45+
zgenom load empresslabs/adonisjs.plugin.zsh
46+
```
47+
48+
#### [zplug](https://github.com/zplug/zplug)
49+
50+
```shell
51+
zplug empresslabs/adonisjs.plugin.zsh
4652
```
4753

4854
## Usage
4955

50-
```bash
51-
cd /path/to/adonisjs/project # or subdirectory
56+
```shell
57+
cd /path/to/adonisjs/project # or adonis subdirectory
5258
ace # instead of node ace
5359
```
60+
61+
## License
62+
63+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

adonisjs.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function __find_adonisjs_root() {
33
local adonisjs_path=""
44

55
until [[ "${current_path}" -ef "/" ]]; do
6-
if [[ -f "${current_path}/ace" ]] && [[ -f "${current_path}/.adonisrc.json" ]]; then
6+
if ([[ -f "${current_path}/ace" ]] || [[ -f "${current_path}/ace.js" ]]) && ([[ -f "${current_path}/adonisrc.ts" ]] || [[ -f "${current_path}/.adonisrc.json" ]]); then
77
adonisjs_path="${current_path}"
88
break
99
fi

0 commit comments

Comments
 (0)