From 83307b4342d363038a5a2848c3a29f87d7d51f6a Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Sat, 27 May 2023 22:35:38 +0300 Subject: [PATCH] finishing strokes for fedora --- private_dot_config/private_fish/config.fish | 3 ++- run_once_before_install_main_deps.sh.tmpl | 11 +++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/private_dot_config/private_fish/config.fish b/private_dot_config/private_fish/config.fish index 6fd73db..dad52b5 100644 --- a/private_dot_config/private_fish/config.fish +++ b/private_dot_config/private_fish/config.fish @@ -1,8 +1,9 @@ set -gx PATH /usr/local/opt/coreutils/libexec/gnubin $PATH set -gx PATH /usr/local/bin $PATH +set -gx GOPATH $HOME/.go set -gx PATH $HOME/.local/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 fish_color_valid_path diff --git a/run_once_before_install_main_deps.sh.tmpl b/run_once_before_install_main_deps.sh.tmpl index d8186e9..08dcdc3 100644 --- a/run_once_before_install_main_deps.sh.tmpl +++ b/run_once_before_install_main_deps.sh.tmpl @@ -2,18 +2,25 @@ cd ~ {{ 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 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 ~/.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 + #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 -}}