Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
43046cdb
Unverified
Commit
43046cdb
authored
Dec 13, 2020
by
idoroiengel
Committed by
Marc Cornellà
Dec 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(flutter): add a few more aliases (#9511)
Closes #9511
parent
7568bbd9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
15 deletions
+29
-15
README.md
plugins/flutter/README.md
+18
-11
flutter.plugin.zsh
plugins/flutter/flutter.plugin.zsh
+11
-4
No files found.
plugins/flutter/README.md
View file @
43046cdb
...
@@ -2,20 +2,27 @@
...
@@ -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 |
|
`fldoc`
|
`flutter doctor`
| Runs flutter doctor |
|
`flb`
|
`flutter build`
| Build flutter application |
|
`flattach`
|
`flutter attach`
| Attaches flutter to a running flutter application with enabled observatory |
|
`flattach`
|
`flutter attach`
| Attaches flutter to a running flutter application with enabled observatory |
|
`flget`
|
`flutter packages get`
| Installs dependencies |
|
`flb`
|
`flutter build`
| Build flutter application |
|
`flchnl`
|
`flutter channel`
| Switches flutter channel (requires input of desired channel) |
|
`flc`
|
`flutter clean`
| Cleans flutter project |
|
`flc`
|
`flutter clean`
| Cleans flutter project |
|
`fldvcs`
|
`flutter devices`
| List connected devices (if any) |
|
`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 |
plugins/flutter/flutter.plugin.zsh
View file @
43046cdb
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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment