finishing strokes for fedora

This commit is contained in:
Anton Volnuhin 2023-05-27 22:35:38 +03:00
parent 3b3e12b7d3
commit 83307b4342
2 changed files with 11 additions and 3 deletions

View File

@ -1,8 +1,9 @@
set -gx PATH /usr/local/opt/coreutils/libexec/gnubin $PATH set -gx PATH /usr/local/opt/coreutils/libexec/gnubin $PATH
set -gx PATH /usr/local/bin $PATH set -gx PATH /usr/local/bin $PATH
set -gx GOPATH $HOME/.go
set -gx PATH $HOME/.local/bin $PATH set -gx PATH $HOME/.local/bin $PATH
set -gx PATH $HOME/.cargo/bin $PATH set -gx PATH $HOME/.cargo/bin $PATH
set -gx GOPATH $HOME/.go set -gx PATH $HOME/.go/bin $PATH
set -gx EDITOR nvim set -gx EDITOR nvim
set fish_color_valid_path set fish_color_valid_path

View File

@ -2,18 +2,25 @@
cd ~ cd ~
{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "fedora")) -}} {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "fedora")) -}}
sudo dnf install gpg git curl wget ripgrep fd-find unzip util-linux util-linux-user python3-pip cargo go htop fzf bat kitty-terminfo -y sudo dnf install kitty-terminfo
sudo dnf install gpg git curl wget ripgrep fd-find unzip util-linux util-linux-user python3-pip cargo go htop fzf bat -y
sudo dnf install fish neovim kitty-fish-integration -y sudo dnf install fish neovim kitty-fish-integration -y
fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher" fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher"
fish -c "fish_add_path -U ~/.local/bin" fish -c "fish_add_path -U ~/.local/bin"
fish -c "fish_add_path -U ~/.cargo/bin" fish -c "fish_add_path -U ~/.cargo/bin"
fish -c "fish_add_path -U ~/.go/bin"
GOPATH="$HOME/.go" go install github.com/gsamokovarov/jump@latest
chsh -s /usr/bin/fish chsh -s /usr/bin/fish
#cargo install atuin #cargo install atuin
GOPATH="$HOME/.go" GOBIN="$HOME/.local/bin" go install github.com/gsamokovarov/jump@latest
echo "======================================================================="
echo "atuin will not be installed automatically, to install it manually, run:"
echo "cargo install atuin"
{{ end -}} {{ end -}}