summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-09-30 19:49:59 +0200
committerGitHub <noreply@github.com>2019-09-30 19:49:59 +0200
commit86dd1a480a0ac1d731d595f21fe36ff90a49e5e2 (patch)
tree48e6b711e0803a7af89a23d4550df030090e48d6
parentf9e7c45a484723f693a77ab6128a1cc163f3704a (diff)
parent487f0af412e9ef968175d290a606bd6c0717fc9b (diff)
downloadzsh-86dd1a480a0ac1d731d595f21fe36ff90a49e5e2.tar.gz
zsh-86dd1a480a0ac1d731d595f21fe36ff90a49e5e2.tar.bz2
zsh-86dd1a480a0ac1d731d595f21fe36ff90a49e5e2.zip
react-native: add aliases for newer iPhones (#8170)
Added aliases for iPhone 11, 11 Pro, and 11 Pro Max
-rw-r--r--plugins/react-native/README.md3
-rw-r--r--plugins/react-native/react-native.plugin.zsh4
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/react-native/README.md b/plugins/react-native/README.md
index dc0207184..d0a53b8d7 100644
--- a/plugins/react-native/README.md
+++ b/plugins/react-native/README.md
@@ -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)"` |
diff --git a/plugins/react-native/react-native.plugin.zsh b/plugins/react-native/react-native.plugin.zsh
index f7695d15f..b33dedfed 100644
--- a/plugins/react-native/react-native.plugin.zsh
+++ b/plugins/react-native/react-native.plugin.zsh
@@ -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"'