mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
bc119a5e98
* Update build and install scripts * Add build-all.nu and uninstall-all.sh
19 lines
374 B
Bash
Executable file
19 lines
374 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo ''
|
|
echo "----------------------------------------------"
|
|
echo "Uninstall nu and all plugins from cargo/bin..."
|
|
echo "----------------------------------------------"
|
|
|
|
NU_PLUGINS=(
|
|
'nu_plugin_inc'
|
|
'nu_plugin_gstat'
|
|
'nu_plugin_query'
|
|
'nu_plugin_example'
|
|
)
|
|
|
|
cargo uninstall nu
|
|
for plugin in "${NU_PLUGINS[@]}"
|
|
do
|
|
cargo uninstall $plugin
|
|
done
|