aboutsummaryrefslogtreecommitdiff
path: root/dot_config/fish
diff options
context:
space:
mode:
authorpablu <me@pablu.de>2026-03-22 18:32:41 +0100
committerpablu <me@pablu.de>2026-03-22 18:32:41 +0100
commit111d116e03b4307f2bc7469fa0e6f5a8cc6643a3 (patch)
treea8bc641177ef5c7730b1de88adffb699e97af96d /dot_config/fish
parent1d5ca0aa2971d2485575ed7c5efad17144cb3fb1 (diff)
Try out fish for now, change starship to use catppuccin
Diffstat (limited to 'dot_config/fish')
-rw-r--r--dot_config/fish/config.fish49
-rw-r--r--dot_config/fish/private_fish_variables110
2 files changed, 159 insertions, 0 deletions
diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish
new file mode 100644
index 0000000..26ec776
--- /dev/null
+++ b/dot_config/fish/config.fish
@@ -0,0 +1,49 @@
+# source /usr/share/cachyos-fish-config/cachyos-config.fish
+
+function fish_greeting
+ fastfetch
+end
+
+# Add ~/.local/bin to PATH
+if test -d ~/.local/bin
+ if not contains -- ~/.local/bin $PATH
+ set -p PATH ~/.local/bin
+ end
+end
+
+# Add depot_tools to PATH
+if test -d ~/Applications/depot_tools
+ if not contains -- ~/Applications/depot_tools $PATH
+ set -p PATH ~/Applications/depot_tools
+ end
+end
+
+# Fish command history
+function history
+ builtin history --show-time='%F %T '
+end
+
+# Copy DIR1 DIR2
+function copy
+ set count (count $argv | tr -d \n)
+ if test "$count" = 2; and test -d "$argv[1]"
+ set from (echo $argv[1] | trim-right /)
+ set to (echo $argv[2])
+ command cp -r $from $to
+ else
+ command cp $argv
+ end
+end
+
+set -Ux EDITOR nvim
+set -U fish_history_max 1000
+
+alias vim='nvim'
+alias cd='z'
+alias ls='eza --icons=always --color=always'
+alias untar='tar -zxvf '
+alias grep='grep --color=auto'
+alias cleanup='sudo pacman -Rns (pacman -Qtdq)'
+
+zoxide init fish | source
+starship init fish | source
diff --git a/dot_config/fish/private_fish_variables b/dot_config/fish/private_fish_variables
new file mode 100644
index 0000000..cd1276f
--- /dev/null
+++ b/dot_config/fish/private_fish_variables
@@ -0,0 +1,110 @@
+# This file contains fish universal variable definitions.
+# VERSION: 3.0
+SETUVAR --export EDITOR:nvim
+SETUVAR --export STARSHIP_CONFIG:/home/pablu/\x2econfig/starship/starship\x2etoml
+SETUVAR __done_min_cmd_duration:10000
+SETUVAR __done_notification_urgency_level:low
+SETUVAR __fish_initialized:4300
+SETUVAR fish_color_autosuggestion:6c7086\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_cancel:f38ba8\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_command:89b4fa\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_comment:7f849c\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_cwd:f9e2af\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_cwd_root:\x1d
+SETUVAR fish_color_end:fab387\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_error:f38ba8\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_escape:eba0ac\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_gray:6c7086\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_history_current:\x1d
+SETUVAR fish_color_host:89b4fa\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_host_remote:a6e3a1\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_keyword:cba6f7\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_normal:cdd6f4\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_operator:f5c2e7\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_option:a6e3a1\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_param:f2cdcd\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_quote:a6e3a1\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_redirection:f5c2e7\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_search_match:\x2d\x2dbackground\x3d313244\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_selection:\x2d\x2dbackground\x3d313244\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_status:f38ba8\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_user:94e2d5\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_color_valid_path:\x1d
+SETUVAR fish_history_max:1000
+SETUVAR fish_pager_color_completion:cdd6f4\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_pager_color_description:6c7086\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_pager_color_prefix:f5c2e7\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_pager_color_progress:6c7086\x1e\x2d\x2dtheme\x3dcatppuccin\x2dmocha
+SETUVAR fish_pager_color_selected_background:\x1d
+SETUVAR pure_begin_prompt_with_current_directory:true
+SETUVAR pure_check_for_new_release:false
+SETUVAR pure_color_at_sign:pure_color_mute
+SETUVAR pure_color_aws_profile:pure_color_warning
+SETUVAR pure_color_command_duration:pure_color_warning
+SETUVAR pure_color_current_directory:pure_color_primary
+SETUVAR pure_color_danger:red
+SETUVAR pure_color_dark:black
+SETUVAR pure_color_exit_status:pure_color_danger
+SETUVAR pure_color_git_branch:pure_color_mute
+SETUVAR pure_color_git_dirty:pure_color_mute
+SETUVAR pure_color_git_stash:pure_color_info
+SETUVAR pure_color_git_unpulled_commits:pure_color_info
+SETUVAR pure_color_git_unpushed_commits:pure_color_info
+SETUVAR pure_color_hostname:pure_color_mute
+SETUVAR pure_color_info:cyan
+SETUVAR pure_color_jobs:pure_color_normal
+SETUVAR pure_color_k8s_context:pure_color_success
+SETUVAR pure_color_k8s_namespace:pure_color_primary
+SETUVAR pure_color_k8s_prefix:pure_color_info
+SETUVAR pure_color_light:white
+SETUVAR pure_color_mute:brblack
+SETUVAR pure_color_nixdevshell_prefix:pure_color_info
+SETUVAR pure_color_nixdevshell_symbol:pure_color_mute
+SETUVAR pure_color_normal:normal
+SETUVAR pure_color_prefix_root_prompt:pure_color_danger
+SETUVAR pure_color_primary:blue
+SETUVAR pure_color_prompt_on_error:pure_color_danger
+SETUVAR pure_color_prompt_on_success:pure_color_success
+SETUVAR pure_color_success:magenta
+SETUVAR pure_color_system_time:pure_color_mute
+SETUVAR pure_color_username_normal:pure_color_mute
+SETUVAR pure_color_username_root:pure_color_light
+SETUVAR pure_color_virtualenv:pure_color_mute
+SETUVAR pure_color_warning:yellow
+SETUVAR pure_convert_exit_status_to_signal:false
+SETUVAR pure_enable_aws_profile:true
+SETUVAR pure_enable_container_detection:true
+SETUVAR pure_enable_git:true
+SETUVAR pure_enable_k8s:false
+SETUVAR pure_enable_nixdevshell:false
+SETUVAR pure_enable_single_line_prompt:false
+SETUVAR pure_enable_virtualenv:true
+SETUVAR pure_reverse_prompt_symbol_in_vimode:true
+SETUVAR pure_separate_prompt_on_error:false
+SETUVAR pure_shorten_prompt_current_directory_length:0
+SETUVAR pure_shorten_window_title_current_directory_length:0
+SETUVAR pure_show_exit_status:false
+SETUVAR pure_show_jobs:false
+SETUVAR pure_show_numbered_git_indicator:false
+SETUVAR pure_show_prefix_root_prompt:false
+SETUVAR pure_show_subsecond_command_duration:false
+SETUVAR pure_show_system_time:false
+SETUVAR pure_symbol_aws_profile_prefix:
+SETUVAR pure_symbol_container_prefix:
+SETUVAR pure_symbol_exit_status_prefix:\x7c
+SETUVAR pure_symbol_exit_status_separator:\x7c
+SETUVAR pure_symbol_git_dirty:\x2a
+SETUVAR pure_symbol_git_stash:\u2261
+SETUVAR pure_symbol_git_unpulled_commits:\u21e3
+SETUVAR pure_symbol_git_unpushed_commits:\u21e1
+SETUVAR pure_symbol_k8s_prefix:\u2638
+SETUVAR pure_symbol_nixdevshell_prefix:\u2744\ufe0f
+SETUVAR pure_symbol_prefix_root_prompt:\x23
+SETUVAR pure_symbol_prompt:\u276f
+SETUVAR pure_symbol_reverse_prompt:\u276e
+SETUVAR pure_symbol_ssh_prefix:
+SETUVAR pure_symbol_title_bar_separator:\x2d
+SETUVAR pure_symbol_virtualenv_prefix:
+SETUVAR pure_threshold_command_duration:5
+SETUVAR pure_truncate_prompt_current_directory_keeps:\x2d1
+SETUVAR pure_truncate_window_title_current_directory_keeps:\x2d1