From 9a9c6799ce038ae95962f5cc05c8a2085ab77042 Mon Sep 17 00:00:00 2001 From: tiago Date: Sun, 10 Dec 2023 15:52:32 +0000 Subject: [PATCH] fish conf and starship --- .config/fish/config.fish | 7 ++-- .config/fish/fish_variables | 2 +- .config/starship.toml | 71 ++++++++++++++++++++----------------- 3 files changed, 45 insertions(+), 35 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 809ecd0..2fe3198 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -3,9 +3,10 @@ if status is-interactive end export EDITOR="nvim" -export TERMINAL="alacritty" -export TERMINAL_PROG="alacritty" +export TERMINAL="kitty" +export TERMINAL_PROG="kitty" export BROWSER="firefox" +export PAGER="bat" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" @@ -27,6 +28,8 @@ fish_add_path $HOME/.local/share/nvim/mason/bin/ fish_add_path $HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin fish_add_path $HOME/.cargo/bin/ fish_add_path $HOME/.config/emacs/bin +# google cloud bin +fish_add_path /opt/google-cloud-cli/bin starship init fish | source diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 1c3a3fc..4a59d8d 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -45,4 +45,4 @@ 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/tsousa/\x2econfig/emacs/bin\x1e/home/tsousa/\x2ecargo/bin\x1e/home/tsousa/\x2elocal/share/nvim/mason/bin\x1e/home/tsousa/\x2erustup/toolchains/nightly\x2dx86_64\x2dunknown\x2dlinux\x2dgnu/bin +SETUVAR fish_user_paths:/opt/google\x2dcloud\x2dcli/bin\x1e/home/tsousa/\x2econfig/emacs/bin\x1e/home/tsousa/\x2ecargo/bin\x1e/home/tsousa/\x2elocal/share/nvim/mason/bin\x1e/home/tsousa/\x2erustup/toolchains/nightly\x2dx86_64\x2dunknown\x2dlinux\x2dgnu/bin diff --git a/.config/starship.toml b/.config/starship.toml index 2fce9d7..b5650bf 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -21,6 +21,9 @@ disabled = true [cmd_duration] disabled = true +[gcloud] +disabled = true + [aws] symbol = " " format = ' [$symbol($version(-$name) )]($style)' @@ -110,6 +113,42 @@ symbol = " " symbol = " " format = ' [$symbol($version(-$name) )]($style)' +[ocaml] +symbol = "đŸ« " +format = '[$symbol($version )(\($switch_indicator$switch_name\) )]($style)' + +[package] +symbol = "󰏗 " + +[pijul_channel] +symbol = " " + +[python] +symbol = " " +format = ' [$symbol($version(-$name) )]($style)' + +[rlang] +symbol = "󰟔 " + +[ruby] +symbol = " " +format = ' [$symbol($version(-$name) )]($style)' + +[rust] +symbol = " " +format = ' [$symbol($version(-$name) )]($style)' + +[scala] +symbol = " " + +[vagrant] +symbol = " " +format = ' [$symbol($version(-$name) )]($style)' + +[zig] +symbol = "↯ " +format = ' [$symbol($version(-$name) )]($style)' + [os.symbols] Alpaquita = "îȘą " Alpine = " " @@ -151,38 +190,6 @@ Ubuntu = " " Unknown = " " Windows = "ó°Č " -[package] -symbol = "󰏗 " - -[pijul_channel] -symbol = " " - -[python] -symbol = " " -format = ' [$symbol($version(-$name) )]($style)' - -[rlang] -symbol = "󰟔 " - -[ruby] -symbol = " " -format = ' [$symbol($version(-$name) )]($style)' - -[rust] -symbol = " " -format = ' [$symbol($version(-$name) )]($style)' - -[scala] -symbol = " " - -[vagrant] -symbol = " " -format = ' [$symbol($version(-$name) )]($style)' - -[zig] -symbol = "↯ " -format = ' [$symbol($version(-$name) )]($style)' - [palettes.catppuccin_macchiato] rosewater = "#f4dbd6" flamingo = "#f0c6c6"