ohmyzsh/plugins/react-native/react-native.plugin.zsh
Erik 16bfd6fd7f react-native: add aliases for newer iPhones (#7134)
Added aliases for iPhone 7, 7 Plus, 8, 8 Plus, SE, and X
2018-09-12 22:56:18 +02:00

21 lines
909 B
Bash

alias rn='react-native'
alias rns='react-native start'
alias rnlink='react-native link'
alias rnand='react-native run-android'
alias rnios='react-native run-ios'
alias rnios4s='react-native run-ios --simulator "iPhone 4s"'
alias rnios5='react-native run-ios --simulator "iPhone 5"'
alias rnios5s='react-native run-ios --simulator "iPhone 5s"'
alias rnios6='react-native run-ios --simulator "iPhone 6"'
alias rnios6s='react-native run-ios --simulator "iPhone 6s"'
alias rnios7='react-native run-ios --simulator "iPhone 7"'
alias rnios7p='react-native run-ios --simulator "iPhone 7 Plus"'
alias rnios8='react-native run-ios --simulator "iPhone 8"'
alias rnios8p='react-native run-ios --simulator "iPhone 8 Plus"'
alias rniosse='react-native run-ios --simulator "iPhone SE"'
alias rniosx='react-native run-ios --simulator "iPhone X"'
alias rnland='react-native log-android'
alias rnlios='react-native log-ios'