-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-plugins.sh
More file actions
executable file
·43 lines (36 loc) · 972 Bytes
/
install-plugins.sh
File metadata and controls
executable file
·43 lines (36 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env nu
# TODO: temporary removed, have different settings for now
#
# echo "Installing starship"
# cargo install starship
# echo "Set up starship config for nu"
# if not ('~/.cache/starship' | path exists ) {
# mkdir ~/.cache/starship
# starship init nu | save -f ~/.cache/starship/init.nu
# }
let plugins = [
# Official plugins
nu_plugin_inc
nu_plugin_polars
nu_plugin_gstat
nu_plugin_formats
nu_plugin_query
# Good ones
nu_plugin_skim
nu_plugin_clipboard
]
echo "installing some plugins"
$plugins | each {
echo $"Installing ($in)";
cargo install $in;
plugin add ([ "~/.cargo/bin/" $in ] | path join | path expand)
} | ignore
# NOT INSTALLED: not yet updated to latest nushell
# echo "Installing compress plugin"
# cargo install nu_plugin_compress
# plugin add ~/.cargo/bin/nu_plugin_compress
#
echo "Installing pueue for background tasks"
cargo install pueue
echo "Installing just for executing scripts"
cargo install just