-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-linux
More file actions
executable file
·152 lines (133 loc) · 4.16 KB
/
install-linux
File metadata and controls
executable file
·152 lines (133 loc) · 4.16 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
#!/usr/bin/env nu
if $nu.os-info.name != "linux" {
error make { msg: "This script must be run from Linux only" }
}
use nushell/scripts/globals.nu
use nushell/scripts/log.nu
use nushell/scripts/setup
use nushell/scripts/nu-install
$env.LOG_CATEGORY = "install-linux"
log info "Starting"
setup kde files kde/settings
nu-install link clean
nu-install link [
{ target: "nushell", link: $"($env.HOME)/.config/nushell" }
{ target: "config", link: $"($env.HOME)" }
{ target: "config-linux", link: $"($env.HOME)" }
]
nu-install git [
{ repo: "https://github.com/sid-6581/NeovimConfig", dir: $"($env.HOME)/.config/nvim" }
]
nu-install pacman uninstall [
tldr
]
nu-install paru uninstall [
espanso-x11
espanso-wayland
espanso-wayland-git
neovim-nightly
ttf-google-fonts-git
]
nu-install pacman [
bat
broot
cmake
fd
fuse-zip
fzf
gcc
git-delta
github-cli
go
jq
just
kitty
lazygit
lsd
nodejs
npm
nushell
okular
openssl
pigz
pkgconf
pnpm
podman
pre-commit
pueue
python-pip
ripgrep
rust-analyzer
rustup
starship
tealdeer
tree-sitter-cli
ttf-jetbrains-mono
ttf-jetbrains-mono-nerd
ueberzugpp
unzip
uv
vifm
xclip
yazi
zip
zoxide
]
nu-install paru [
1password
1password-cli
archivemount-ng
ast-grep
carapace
neovim-git
ttf-google-sans
ttf-ms-win11-auto
]
if (which rustup | is-not-empty) {
let toolchains = ^rustup toolchain list
if "stable" not-in $toolchains {
^rustup default stable
}
if "nightly" not-in $toolchains {
^rustup install nightly
}
}
nu-install cargo [
cargo-edit
cargo-update
]
nu-install gh [
{ check: "ast-grep", repo: "ast-grep/ast-grep", pattern: "*x86_64-unknown-linux-gnu.zip" } # ast-grep - Code structural search tool
{ check: "rg", repo: "BurntSushi/ripgrep", pattern: "*x86_64-unknown-linux-musl.tar.gz" } # ripgrep - grep replacement
{ check: "zoxide", repo: "ajeetdsouza/zoxide", pattern: "*x86_64-unknown-linux-musl.tar.gz" } # zoxide - Fast directory jumping
{ check: "uv", repo: "astral-sh/uv", pattern: "uv-x86_64-unknown-linux-gnu.tar.gz" } # uv - Python package/project manager
{ check: "just", repo: "casey/just", pattern: "*x86_64-unknown-linux-musl.tar.gz" } # just - Command runner
{ check: "gh", repo: "cli/cli", pattern: "*linux_amd64.tar.gz" } # gh - GitHub CLI
{ check: "delta", repo: "dandavison/delta", pattern: "*x86_64-unknown-linux-gnu.tar.gz" } # delta - git diff
{ check: "tldr", repo: "dbrgn/tealdeer", pattern: "tealdeer-linux-x86_64-musl", executable: "tldr" } # tealdeer - Help for command line tools
{ check: "lazygit", repo: "jesseduffield/lazygit", pattern: "*Linux_x86_64.tar.gz" } # lazygit - git terminal UI
{ check: "jq", repo: "jqlang/jq", pattern: "jq-linux-amd64", executable: "jq" } # jq - JSON command line processor
{ check: "fzf", repo: "junegunn/fzf", pattern: "*linux_amd64.tar.gz" } # fzf - Fuzzy finder
{ check: "lsd", repo: "lsd-rs/lsd", pattern: "*x86_64-unknown-linux-gnu.tar.gz" } # lsd - ls replacement
{ check: "nu", repo: "nushell/nushell", pattern: "*x86_64-unknown-linux-gnu.tar.gz" } # nushell - Shell
{ check: "rust-analyzer", repo: "rust-lang/rust-analyzer", pattern: "rust-analyzer-x86_64-unknown-linux-gnu.gz", executable: "rust-analyzer" } # rust-analyzer - LSP for rust
{ check: "bat", repo: "sharkdp/bat", pattern: "*x86_64-unknown-linux-gnu.tar.gz" } # bat - File viewer
{ check: "fd", repo: "sharkdp/fd", pattern: "*x86_64-unknown-linux-gnu.tar.gz" } # fd - find replacement
{ check: "starship", repo: "starship/starship", pattern: "*x86_64-unknown-linux-gnu.tar.gz" } # starship - Shell prompt
{ check: "yazi", repo: "sxyazi/yazi", pattern: "*x86_64-unknown-linux-gnu.zip" } # yazi - Terminal file manager
{ check: "broot", repo: "Canop/broot", pattern: "broot*.zip", process: {|path|
let executable = [$path x86_64-unknown-linux-gnu broot] | path join
^chmod +x $executable
[$executable]
}} # broot - File manager
{ check: "carapace", repo: "carapace-sh/carapace-bin", pattern: "*linux_amd64.tar.gz" } # carapace - Command line completions
]
(
setup systemctl enable
podman-auto-update.timer
)
(
setup systemctl enable --user
pueued
podman-auto-update.timer
)