File tree Expand file tree Collapse file tree 4 files changed +30
-18
lines changed Expand file tree Collapse file tree 4 files changed +30
-18
lines changed Original file line number Diff line number Diff line change 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
35Permission is hereby granted, free of charge, to any person obtaining a copy
46of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 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
2727plugins=(... 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
5258ace # 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.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments