diff --git a/home/dot_config/fish/conf.d/00-tide-vars.fish b/home/dot_config/fish/conf.d/00-tide-vars.fish new file mode 100644 index 0000000..8a7e2b3 --- /dev/null +++ b/home/dot_config/fish/conf.d/00-tide-vars.fish @@ -0,0 +1,163 @@ +# Tide prompt configuration (universal variables) managed by dotfiles. +# Generated from current user Tide settings. +status is-interactive; or return + +set -U tide_aws_bg_color 303030 +set -U tide_aws_color FF9900 +set -U tide_aws_icon  +set -U tide_bun_bg_color 303030 +set -U tide_bun_color FBF0DF +set -U tide_bun_icon 󰳓 +set -U tide_character_color 5FD700 +set -U tide_character_color_failure FF0000 +set -U tide_character_icon ❯ +set -U tide_character_vi_icon_default ❮ +set -U tide_character_vi_icon_replace ▶ +set -U tide_character_vi_icon_visual V +set -U tide_cmd_duration_bg_color 303030 +set -U tide_cmd_duration_color 87875F +set -U tide_cmd_duration_decimals 0 +set -U tide_cmd_duration_icon  +set -U tide_cmd_duration_threshold 3000 +set -U tide_context_always_display false +set -U tide_context_bg_color 303030 +set -U tide_context_color_default D7AF87 +set -U tide_context_color_root D7AF00 +set -U tide_context_color_ssh D7AF87 +set -U tide_context_hostname_parts 1 +set -U tide_crystal_bg_color 303030 +set -U tide_crystal_color FFFFFF +set -U tide_crystal_icon  +set -U tide_direnv_bg_color 303030 +set -U tide_direnv_bg_color_denied 303030 +set -U tide_direnv_color D7AF00 +set -U tide_direnv_color_denied FF0000 +set -U tide_direnv_icon ▼ +set -U tide_distrobox_bg_color 303030 +set -U tide_distrobox_color FF00FF +set -U tide_distrobox_icon 󰆧 +set -U tide_docker_bg_color 303030 +set -U tide_docker_color 2496ED +set -U tide_docker_default_contexts default colima +set -U tide_docker_icon  +set -U tide_elixir_bg_color 303030 +set -U tide_elixir_color 4E2A8E +set -U tide_elixir_icon  +set -U tide_gcloud_bg_color 303030 +set -U tide_gcloud_color 4285F4 +set -U tide_gcloud_icon 󰊭 +set -U tide_git_bg_color 303030 +set -U tide_git_bg_color_unstable 303030 +set -U tide_git_bg_color_urgent 303030 +set -U tide_git_color_branch 5FD700 +set -U tide_git_color_conflicted FF0000 +set -U tide_git_color_dirty D7AF00 +set -U tide_git_color_operation FF0000 +set -U tide_git_color_staged D7AF00 +set -U tide_git_color_stash 5FD700 +set -U tide_git_color_untracked 00AFFF +set -U tide_git_color_upstream 5FD700 +set -U tide_git_icon  +set -U tide_git_truncation_length 24 +set -U tide_git_truncation_strategy +set -U tide_go_bg_color 303030 +set -U tide_go_color 00ACD7 +set -U tide_go_icon  +set -U tide_java_bg_color 303030 +set -U tide_java_color ED8B00 +set -U tide_java_icon  +set -U tide_jobs_bg_color 303030 +set -U tide_jobs_color 5FAF00 +set -U tide_jobs_icon  +set -U tide_jobs_number_threshold 1000 +set -U tide_kubectl_bg_color 303030 +set -U tide_kubectl_color 326CE5 +set -U tide_kubectl_icon 󱃾 +set -U tide_left_prompt_frame_enabled true +set -U tide_left_prompt_items os pwd git newline character +set -U tide_left_prompt_prefix  +set -U tide_left_prompt_separator_diff_color  +set -U tide_left_prompt_separator_same_color ╱ +set -U tide_left_prompt_suffix  +set -U tide_nix_shell_bg_color 303030 +set -U tide_nix_shell_color 7EBAE4 +set -U tide_nix_shell_icon  +set -U tide_node_bg_color 303030 +set -U tide_node_color 44883E +set -U tide_node_icon  +set -U tide_os_bg_color 303030 +set -U tide_os_color EEEEEE +set -U tide_os_icon  +set -U tide_php_bg_color 303030 +set -U tide_php_color 617CBE +set -U tide_php_icon  +set -U tide_private_mode_bg_color 303030 +set -U tide_private_mode_color FFFFFF +set -U tide_private_mode_icon 󰗹 +set -U tide_prompt_add_newline_before true +set -U tide_prompt_color_frame_and_connection 444444 +set -U tide_prompt_color_separator_same_color 949494 +set -U tide_prompt_icon_connection · +set -U tide_prompt_min_cols 34 +set -U tide_prompt_pad_items true +set -U tide_prompt_transient_enabled true +set -U tide_pulumi_bg_color 303030 +set -U tide_pulumi_color F7BF2A +set -U tide_pulumi_icon  +set -U tide_pwd_bg_color 303030 +set -U tide_pwd_color_anchors 00AFFF +set -U tide_pwd_color_dirs 0087AF +set -U tide_pwd_color_truncated_dirs 8787AF +set -U tide_pwd_icon  +set -U tide_pwd_icon_home  +set -U tide_pwd_icon_unwritable  +set -U tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform bun.lockb Cargo.toml composer.json CVS go.mod package.json build.zig +set -U tide_python_bg_color 303030 +set -U tide_python_color 00AFAF +set -U tide_python_icon 󰌠 +set -U tide_right_prompt_frame_enabled false +set -U tide_right_prompt_items status cmd_duration context jobs direnv bun node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig time +set -U tide_right_prompt_prefix  +set -U tide_right_prompt_separator_diff_color  +set -U tide_right_prompt_separator_same_color ╱ +set -U tide_right_prompt_suffix  +set -U tide_ruby_bg_color 303030 +set -U tide_ruby_color B31209 +set -U tide_ruby_icon  +set -U tide_rustc_bg_color 303030 +set -U tide_rustc_color F74C00 +set -U tide_rustc_icon  +set -U tide_shlvl_bg_color 303030 +set -U tide_shlvl_color d78700 +set -U tide_shlvl_icon  +set -U tide_shlvl_threshold 1 +set -U tide_status_bg_color 303030 +set -U tide_status_bg_color_failure 303030 +set -U tide_status_color 5FAF00 +set -U tide_status_color_failure D70000 +set -U tide_status_icon ✔ +set -U tide_status_icon_failure ✘ +set -U tide_terraform_bg_color 303030 +set -U tide_terraform_color 844FBA +set -U tide_terraform_icon 󱁢 +set -U tide_time_bg_color 303030 +set -U tide_time_color 5F8787 +set -U tide_time_format '%r' +set -U tide_toolbox_bg_color 303030 +set -U tide_toolbox_color 613583 +set -U tide_toolbox_icon  +set -U tide_vi_mode_bg_color_default 303030 +set -U tide_vi_mode_bg_color_insert 303030 +set -U tide_vi_mode_bg_color_replace 303030 +set -U tide_vi_mode_bg_color_visual 303030 +set -U tide_vi_mode_color_default 949494 +set -U tide_vi_mode_color_insert 87AFAF +set -U tide_vi_mode_color_replace 87AF87 +set -U tide_vi_mode_color_visual FF8700 +set -U tide_vi_mode_icon_default D +set -U tide_vi_mode_icon_insert I +set -U tide_vi_mode_icon_replace R +set -U tide_vi_mode_icon_visual V +set -U tide_zig_bg_color 303030 +set -U tide_zig_color F7A41D +set -U tide_zig_icon  diff --git a/home/dot_config/fish/conf.d/10-fisher-bootstrap.fish b/home/dot_config/fish/conf.d/10-fisher-bootstrap.fish new file mode 100644 index 0000000..8bc9fd5 --- /dev/null +++ b/home/dot_config/fish/conf.d/10-fisher-bootstrap.fish @@ -0,0 +1,19 @@ +# Bootstrap fisher function on first interactive run. +# We intentionally do not auto-install plugins here to avoid Tide's +# first-install interactive wizard during shell startup. +status is-interactive; or return + +if functions -q fisher + return +end + +if not command -q curl + return +end + +set -l fisher_fn ~/.config/fish/functions/fisher.fish +mkdir -p (dirname $fisher_fn) +curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish -o $fisher_fn +source $fisher_fn + +echo "[fish] Fisher bootstrapped. Run 'fisher update' to install plugins from fish_plugins." diff --git a/home/dot_config/fish/fish_plugins b/home/dot_config/fish/fish_plugins new file mode 100644 index 0000000..8f1dd2a --- /dev/null +++ b/home/dot_config/fish/fish_plugins @@ -0,0 +1,2 @@ +jorgebucaran/fisher +ilancosman/tide@v6