From 18666e3475d3a4180d9becc03cb105fcaa6c6801 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 6 Jul 2024 18:09:04 +0800 Subject: added submodule --- dot-oh-my-zsh | 1 + dot-oh-my-zsh/plugins/react-native/_react-native | 32 ------------------------ 2 files changed, 1 insertion(+), 32 deletions(-) create mode 160000 dot-oh-my-zsh delete mode 100644 dot-oh-my-zsh/plugins/react-native/_react-native (limited to 'dot-oh-my-zsh/plugins/react-native/_react-native') diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh new file mode 160000 index 00000000..6fe84bf5 --- /dev/null +++ b/dot-oh-my-zsh @@ -0,0 +1 @@ +Subproject commit 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8cea diff --git a/dot-oh-my-zsh/plugins/react-native/_react-native b/dot-oh-my-zsh/plugins/react-native/_react-native deleted file mode 100644 index 893ac040..00000000 --- a/dot-oh-my-zsh/plugins/react-native/_react-native +++ /dev/null @@ -1,32 +0,0 @@ -#compdef react-native -#autoload - -local -a _1st_arguments -_1st_arguments=( - 'init: generates a new project and installs its dependencies' - 'android:creates an empty android project' - 'start:starts the webserver' - 'run-ios:builds your app and starts it on iOS simulator' - 'run-android:builds your app and starts it on a connected Android emulator or device' - 'new-library:generates a native library bridge' - 'bundle:builds the javascript bundle for offline use' - 'unbundle:builds javascript as "unbundle" for offline use' - 'link:[options] links all native dependencies' - 'unlink:[options] unlink native dependency' - 'install:[options] install and link native dependencies' - 'uninstall:[options] uninstall and unlink native dependencies' - "upgrade:upgrade your app's template files to the latest version; run this after updating the react-native version in your package.json and running npm install" - 'log-android:starts adb logcat' - 'log-ios:starts iOS device syslog tail' -) - - -_arguments \ - '(--version)--version[show version]' \ - '(--help)--help[show help]' \ - '*:: :->subcmds' && return 0 - -if (( CURRENT == 1 )); then - _describe -t commands "react-native subcommand" _1st_arguments - return -fi -- cgit v1.2.3