mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-21 20:01:57 +00:00
parent
7568bbd9f5
commit
43046cdb35
2 changed files with 29 additions and 15 deletions
|
@ -2,20 +2,27 @@
|
||||||
|
|
||||||
The Flutter plugin provides completion and useful aliases
|
The Flutter plugin provides completion and useful aliases
|
||||||
|
|
||||||
To use it, add flutter to the plugins array of your zshrc file:
|
To use it, add `flutter` to the plugins array of your zshrc file:
|
||||||
|
|
||||||
```
|
```zsh
|
||||||
plugins=(... flutter)
|
plugins=(... flutter)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
| :--------- | :--------------------- | :------------------------------------------------------------------------- |
|
| :--------- | :---------------------- | :------------------------------------------------------------------------- |
|
||||||
| `fl` | `flutter` | Shorthand for flutter command |
|
| `fl` | `flutter` | Shorthand for flutter command |
|
||||||
| `flr` | `flutter run` | Runs flutter app |
|
| `flattach` | `flutter attach` | Attaches flutter to a running flutter application with enabled observatory |
|
||||||
| `fldoc` | `flutter doctor` | Runs flutter doctor |
|
| `flb` | `flutter build` | Build flutter application |
|
||||||
| `flb` | `flutter build` | Build flutter application |
|
| `flchnl` | `flutter channel` | Switches flutter channel (requires input of desired channel) |
|
||||||
| `flattach` | `flutter attach` | Attaches flutter to a running flutter application with enabled observatory |
|
| `flc` | `flutter clean` | Cleans flutter project |
|
||||||
| `flget` | `flutter packages get` | Installs dependencies |
|
| `fldvcs` | `flutter devices` | List connected devices (if any) |
|
||||||
| `flc` | `flutter clean` | Cleans flutter project |
|
| `fldoc` | `flutter doctor` | Runs flutter doctor |
|
||||||
|
| `flpub` | `flutter pub` | Shorthand for flutter pub command |
|
||||||
|
| `flget` | `flutter pub get` | Installs dependencies |
|
||||||
|
| `flr` | `flutter run` | Runs flutter app |
|
||||||
|
| `flrd` | `flutter run --debug` | Runs flutter app in debug mode (default mode) |
|
||||||
|
| `flrp` | `flutter run --profile` | Runs flutter app in profile mode |
|
||||||
|
| `flrr` | `flutter run --release` | Runs flutter app in release mode |
|
||||||
|
| `flupgrd` | `flutter upgrade` | Upgrades flutter version depending on the current channel |
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
alias fl="flutter"
|
alias fl="flutter"
|
||||||
alias flr="flutter run"
|
|
||||||
alias fldoc="flutter doctor"
|
|
||||||
alias flb="flutter build"
|
|
||||||
alias flattach="flutter attach"
|
alias flattach="flutter attach"
|
||||||
alias flget="flutter packages get"
|
alias flb="flutter build"
|
||||||
|
alias flchnl="flutter channel"
|
||||||
alias flc="flutter clean"
|
alias flc="flutter clean"
|
||||||
|
alias fldvcs="flutter devices"
|
||||||
|
alias fldoc="flutter doctor"
|
||||||
|
alias flpub="flutter pub"
|
||||||
|
alias flget="flutter pub get"
|
||||||
|
alias flr="flutter run"
|
||||||
|
alias flrd="flutter run --debug"
|
||||||
|
alias flrp="flutter run --profile"
|
||||||
|
alias flrr="flutter run --release"
|
||||||
|
alias flupgrd="flutter upgrade"
|
||||||
|
|
Loading…
Reference in a new issue