ubuntu20 fixes to be sure fish and neovim installed independently
This commit is contained in:
parent
ee21e45ffb
commit
0b1ba8a03c
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
#Config
|
||||
STEPS=15
|
||||
STEPS=16
|
||||
PAD_LEN=4
|
||||
|
||||
BASE_PACKAGES="gnupg curl wget git gcc pipx"
|
||||
ACT_PACKAGES="ripgrep unzip htop fzf bat gawk jq nnn tmux mc nethogs ngrep mtr"
|
||||
BASE_PACKAGES="gnupg curl wget git ncurses direnv"
|
||||
ACT_PACKAGES="ripgrep unzip htop fzf bat gawk jq nnn tmux mc nethogs ngrep mtr pipx gcc"
|
||||
|
||||
#Colors
|
||||
Green='\033[0;32m' # Green
|
||||
@ -194,7 +194,9 @@ new_line "via NIX"
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
||||
new_line "via APT"
|
||||
sudo apt-get install fish neovim $ACT_PACKAGES libpam-ssh-agent-auth -y 2>&1|pad
|
||||
sudo apt-get install fish -y 2>&1|pad
|
||||
sudo apt-get install neovim -y 2>&1|pad
|
||||
sudo apt-get install $ACT_PACKAGES libpam-ssh-agent-auth -y 2>&1|pad
|
||||
|
||||
new_line "via NIX"
|
||||
nix-env -iA nixpkgs.neovim nixpkgs.jump nixpkgs.skim nixpkgs.du-dust nixpkgs.atuin 2>&1|pad
|
||||
@ -229,7 +231,7 @@ fish -c "set -Ux tide_context_always_display true"
|
||||
|
||||
new_line "Executing neovim :Lazy sync..."
|
||||
timeout 30s nvim --headless "+Lazy! sync" +qa 2>&1|pad
|
||||
timeout 15s nvim --headless ":MasonUpdate" +qa 2>&1|pad
|
||||
timeout 20s nvim --headless ":MasonUpdate" +qa 2>&1|pad
|
||||
|
||||
|
||||
new_line "Change default shell to fish for user $USER"
|
||||
|
Loading…
Reference in New Issue
Block a user