mirror of
https://github.com/nushell/nushell
synced 2024-11-16 01:37:57 +00:00
29 lines
848 B
Bash
Executable file
29 lines
848 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Usage: Just run `sh install-all.sh` in nushell root directory
|
|
|
|
echo "-----------------------------------------------------------------"
|
|
echo "Installing nushell (nu) with --features=extra and all the plugins"
|
|
echo "-----------------------------------------------------------------"
|
|
echo ""
|
|
|
|
echo "Install nushell from local..."
|
|
echo "----------------------------------------------"
|
|
cargo install --path . --features=extra
|
|
|
|
NU_PLUGINS=(
|
|
'nu_plugin_inc'
|
|
'nu_plugin_gstat'
|
|
'nu_plugin_query'
|
|
'nu_plugin_example'
|
|
'nu_plugin_custom_values'
|
|
)
|
|
|
|
for plugin in "${NU_PLUGINS[@]}"
|
|
do
|
|
echo ''
|
|
echo "----------------------------------------------"
|
|
echo "Install plugin $plugin from local..."
|
|
echo "----------------------------------------------"
|
|
cd crates/$plugin && cargo install --path . && cd ../../
|
|
done
|