Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
86dd1a48
Unverified
Commit
86dd1a48
authored
Sep 30, 2019
by
Marc Cornellà
Committed by
GitHub
Sep 30, 2019
Browse files
react-native: add aliases for newer iPhones (#8170)
Added aliases for iPhone 11, 11 Pro, and 11 Pro Max
parents
f9e7c45a
487f0af4
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/react-native/README.md
View file @
86dd1a48
...
...
@@ -39,6 +39,9 @@ plugins=(... react-native)
|
**rniosxs**
|
`react-native run-ios --simulator "iPhone Xs"`
|
|
**rniosxsm**
|
`react-native run-ios --simulator "iPhone Xs Max"`
|
|
**rniosxr**
|
`react-native run-ios --simulator "iPhone Xʀ"`
|
|
**rnios11**
|
`react-native run-ios --simulator "iPhone 11"`
|
|
**rnios11p**
|
`react-native run-ios --simulator "iPhone 11 Pro"`
|
|
**rnios11pm**
|
`react-native run-ios --simulator "iPhone 11 Pro Max"`
|
| _iPad_ | |
|
**rnipad2**
|
`react-native run-ios --simulator "iPad 2"`
|
|
**rnipad5**
|
`react-native run-ios --simulator "iPad (5th generation)"`
|
...
...
plugins/react-native/react-native.plugin.zsh
View file @
86dd1a48
...
...
@@ -24,6 +24,10 @@ alias rniosx='react-native run-ios --simulator "iPhone X"'
alias
rniosxs
=
'react-native run-ios --simulator "iPhone Xs"'
alias
rniosxsm
=
'react-native run-ios --simulator "iPhone Xs Max"'
alias
rniosxr
=
'react-native run-ios --simulator "iPhone Xʀ"'
alias
rnios11
=
'react-native run-ios --simulator "iPhone 11"'
alias
rnios11p
=
'react-native run-ios --simulator "iPhone 11 Pro"'
alias
rnios11pm
=
'react-native run-ios --simulator "iPhone 11 Pro Max"'
# iPad
alias
rnipad2
=
'react-native run-ios --simulator "iPad 2"'
...
...
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