From 1543fa7e63654042b577affc644bd170bc8858be Mon Sep 17 00:00:00 2001 From: José Juan Loeza Sierra Date: Tue, 31 Mar 2026 23:29:47 -0700 Subject: remove unused configs --- dot-config/fish/.gitignore | 1 - dot-config/fish/config.fish | 43 ------------------------------------------- 2 files changed, 44 deletions(-) delete mode 100644 dot-config/fish/.gitignore delete mode 100644 dot-config/fish/config.fish (limited to 'dot-config/fish') diff --git a/dot-config/fish/.gitignore b/dot-config/fish/.gitignore deleted file mode 100644 index 23efee9..0000000 --- a/dot-config/fish/.gitignore +++ /dev/null @@ -1 +0,0 @@ -fish_variables diff --git a/dot-config/fish/config.fish b/dot-config/fish/config.fish deleted file mode 100644 index f8fcc91..0000000 --- a/dot-config/fish/config.fish +++ /dev/null @@ -1,43 +0,0 @@ -# Setup Homebrew -# Source of code: https://github.com/orgs/Homebrew/discussions/4412#discussioncomment-8651316 -if test -d /home/linuxbrew/.linuxbrew # Linux - set -gx HOMEBREW_PREFIX "/home/linuxbrew/.linuxbrew" - set -gx HOMEBREW_CELLAR "$HOMEBREW_PREFIX/Cellar" - set -gx HOMEBREW_REPOSITORY "$HOMEBREW_PREFIX/Homebrew" -else if test -d /opt/homebrew # MacOS - set -gx HOMEBREW_PREFIX /opt/homebrew - set -gx HOMEBREW_CELLAR "$HOMEBREW_PREFIX/Cellar" - set -gx HOMEBREW_REPOSITORY "$HOMEBREW_PREFIX/homebrew" - # Add SSH key to ssh-agent and store passphrase - # see https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent - ssh-add --apple-use-keychain ~/.ssh/id_ed25519 -end -fish_add_path -gP "$HOMEBREW_PREFIX/bin" "$HOMEBREW_PREFIX/sbin" -! set -q MANPATH; and set MANPATH '' -set -gx MANPATH "$HOMEBREW_PREFIX/share/man" $MANPATH -! set -q INFOPATH; and set INFOPATH '' -set -gx INFOPATH "$HOMEBREW_PREFIX/share/info" $INFOPATH - -# Hook direnv -# Source: https://direnv.net/docs/hook.html -direnv hook fish | source - -# the reverse of fish_remove_path -# fish doesn't provide this out of the box, so we provide our own -# see https://fishshell.com/docs/current/cmds/fish_add_path.html#index-8 for fish_add_path -# source: https://github.com/fish-shell/fish-shell/issues/8604#issuecomment-1169638533 -function fish_remove_path - if set -l index (contains -i "$argv" $fish_user_paths) - set -e fish_user_paths[$index] - echo "Removed $argv from the path" - end -end - -# Kitty shell alias -alias ks="kitten ssh" - -# Nvim alias -alias v="nvim" - -# Starship -starship init fish | source -- cgit v1.3