From c0d4e0ce39811fe4f0d4ce4d831763f40d6da2f7 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 7 Jun 2024 10:21:12 +0200 Subject: [PATCH] add starship prompt --- fedora_packages | 2 + fish/fish_variables | 63 ++++++++++++++++------------ run_once_10_install_programs.sh.tmpl | 5 ++- 3 files changed, 43 insertions(+), 27 deletions(-) diff --git a/fedora_packages b/fedora_packages index 62bb852..116fde4 100644 --- a/fedora_packages +++ b/fedora_packages @@ -5,3 +5,5 @@ fish fzf gtk-murrine-engine https://proton.me/download/bridge/protonmail-bridge-3.8.2-1.x86_64.rpm +starship + diff --git a/fish/fish_variables b/fish/fish_variables index 6b43c11..0da9c25 100644 --- a/fish/fish_variables +++ b/fish/fish_variables @@ -8,37 +8,48 @@ SETUVAR _fisher_jorgebucaran_2F_nvm_2E_fish_files:\x7e/\x2econfig/fish/functions SETUVAR _fisher_patrickf1_2F_fzf_2E_fish_files:\x7e/\x2econfig/fish/functions/_fzf_configure_bindings_help\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_extract_var_info\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_preview_changed_file\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_preview_file\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_report_diff_type\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_report_file_type\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_directory\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_git_log\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_git_status\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_history\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_processes\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_variables\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_wrapper\x2efish\x1e\x7e/\x2econfig/fish/functions/fzf_configure_bindings\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/fzf\x2efish\x1e\x7e/\x2econfig/fish/completions/fzf_configure_bindings\x2efish SETUVAR _fisher_plugins:catppuccin/fish\x1epatrickf1/fzf\x2efish\x1ejorgebucaran/nvm\x2efish SETUVAR _fisher_upgraded_to_4_4:\x1d -SETUVAR _hydro_git_17905:main\u2022\x20 -SETUVAR _hydro_git_4502:main\u2022\x20\u21931\x20 +SETUVAR _hydro_git_19694:main\u2022\x20\u21931\x20 +SETUVAR _hydro_git_23735:main\u2022\x20 SETUVAR _hydro_git_8551:main\x20 -SETUVAR fish_color_autosuggestion:555\x1ebrblack -SETUVAR fish_color_cancel:\x2dr -SETUVAR fish_color_command:005fd7 -SETUVAR fish_color_comment:990000 -SETUVAR fish_color_cwd:green +SETUVAR fish_color_autosuggestion:737994 +SETUVAR fish_color_cancel:e78284 +SETUVAR fish_color_command:8caaee +SETUVAR fish_color_comment:838ba7 +SETUVAR fish_color_cwd:e5c890 SETUVAR fish_color_cwd_root:red -SETUVAR fish_color_end:009900 -SETUVAR fish_color_error:ff0000 -SETUVAR fish_color_escape:00a6b2 +SETUVAR fish_color_end:ef9f76 +SETUVAR fish_color_error:e78284 +SETUVAR fish_color_escape:ea999c +SETUVAR fish_color_gray:737994 SETUVAR fish_color_history_current:\x2d\x2dbold -SETUVAR fish_color_host:normal -SETUVAR fish_color_host_remote:yellow -SETUVAR fish_color_normal:normal -SETUVAR fish_color_operator:00a6b2 -SETUVAR fish_color_param:00afff -SETUVAR fish_color_quote:999900 -SETUVAR fish_color_redirection:00afff -SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack -SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack -SETUVAR fish_color_status:red -SETUVAR fish_color_user:brgreen +SETUVAR fish_color_host:8caaee +SETUVAR fish_color_host_remote:a6d189 +SETUVAR fish_color_keyword:e78284 +SETUVAR fish_color_normal:c6d0f5 +SETUVAR fish_color_operator:f4b8e4 +SETUVAR fish_color_option:a6d189 +SETUVAR fish_color_param:eebebe +SETUVAR fish_color_quote:a6d189 +SETUVAR fish_color_redirection:f4b8e4 +SETUVAR fish_color_search_match:\x2d\x2dbackground\x3d414559 +SETUVAR fish_color_selection:\x2d\x2dbackground\x3d414559 +SETUVAR fish_color_status:e78284 +SETUVAR fish_color_user:81c8be SETUVAR fish_color_valid_path:\x2d\x2dunderline SETUVAR fish_key_bindings:fish_vi_key_bindings -SETUVAR fish_pager_color_completion:\x1d -SETUVAR fish_pager_color_description:B3A06D\x1eyellow -SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline -SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan -SETUVAR fish_pager_color_selected_background:\x2dr +SETUVAR fish_pager_color_background:\x1d +SETUVAR fish_pager_color_completion:c6d0f5 +SETUVAR fish_pager_color_description:737994 +SETUVAR fish_pager_color_prefix:f4b8e4 +SETUVAR fish_pager_color_progress:737994 +SETUVAR fish_pager_color_secondary_background:\x1d +SETUVAR fish_pager_color_secondary_completion:\x1d +SETUVAR fish_pager_color_secondary_description:\x1d +SETUVAR fish_pager_color_secondary_prefix:\x1d +SETUVAR fish_pager_color_selected_background:\x1d +SETUVAR fish_pager_color_selected_completion:\x1d +SETUVAR fish_pager_color_selected_description:\x1d +SETUVAR fish_pager_color_selected_prefix:\x1d SETUVAR fish_user_paths:/home/nezia/\x2ecargo/bin\x1e/home/nezia/\x2eflutter/bin\x1e/home/nezia/\x2ebun/bin\x1e/home/nezia/bin SETUVAR hydro_color_git:brgreen SETUVAR hydro_color_prompt:brmagenta diff --git a/run_once_10_install_programs.sh.tmpl b/run_once_10_install_programs.sh.tmpl index 2e45743..aeee8f0 100644 --- a/run_once_10_install_programs.sh.tmpl +++ b/run_once_10_install_programs.sh.tmpl @@ -1,11 +1,14 @@ #!/bin/sh {{ if eq .flavor "desktop" }} -{{- if eq .chezmoi.osRelease.id "fedora" }} +{{ if eq .chezmoi.osRelease.id "fedora" }} # add codium sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=download.vscodium.com\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h" | sudo tee -a /etc/yum.repos.d/vscodium.repo +# add starship copr +sudo dnf copr enable atim/starship + # install packages sudo dnf check-update sudo dnf install $(cat {{ .chezmoi.sourceDir -}}/fedora_packages) -y