commit 41664bc2e1a9410eebefcb7ca1356cf5a60fc71a Author: JMARyA Date: Sat May 24 02:52:52 2025 +0200 init diff --git a/README.md b/README.md new file mode 100644 index 0000000..387276c --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# 🐟 fish shell configuration +This repo is a collection of useful fish shell functions and configs. diff --git a/config.fish b/config.fish new file mode 100644 index 0000000..007786a --- /dev/null +++ b/config.fish @@ -0,0 +1,29 @@ +if status is-interactive + # Starship Prompt + starship init fish | source +end + +# Disable Greeting +set fish_greeting + +# Add binary paths +set -gx PATH $HOME/.local/bin $HOME/.cargo/bin $HOME/bin $PATH + +# Env Vars +set -gx EDITOR "micro" +set -gx TERMUX_ROOT "/data/data/com.termux/files" + +alias ls='eza' +alias l='eza -l' +alias la='eza -la' +alias cat='bat -p' +alias gfold='gfold -d classic' + +# Rust +set -gx RUST_LOG info + +function enable_bitwarden_ssh_socket + set -gx SSH_AUTH_SOCK "/home/angelo/.bitwarden-ssh-agent.sock" +end + +set -gx GPG_TTY $(tty) diff --git a/fish_variables b/fish_variables new file mode 100644 index 0000000..74b1ee1 --- /dev/null +++ b/fish_variables @@ -0,0 +1,31 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __fish_initialized:3800 +SETUVAR fish_color_autosuggestion:brblack +SETUVAR fish_color_cancel:\x2dr +SETUVAR fish_color_command:normal +SETUVAR fish_color_comment:red +SETUVAR fish_color_cwd:green +SETUVAR fish_color_cwd_root:red +SETUVAR fish_color_end:green +SETUVAR fish_color_error:brred +SETUVAR fish_color_escape:brcyan +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:brcyan +SETUVAR fish_color_param:cyan +SETUVAR fish_color_quote:yellow +SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold +SETUVAR fish_color_search_match:white\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_valid_path:\x2d\x2dunderline +SETUVAR fish_key_bindings:fish_default_key_bindings +SETUVAR fish_pager_color_completion:normal +SETUVAR fish_pager_color_description:yellow\x1e\x2di +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