i use arch btw
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make config more generic and remove implied -s from command -sq

+18 -15
+18 -15
fish/.config/fish/config.fish
··· 1 1 set uname (uname -a) 2 2 set host (hostname) 3 3 4 + fish_add_path -g $HOME/.local/bin 5 + 4 6 if test -e /opt/homebrew/bin/brew 5 7 eval (/opt/homebrew/bin/brew shellenv) 6 8 else if test -e /Volumes/T7/homebrew/bin/brew 7 9 eval (/Volumes/T7/homebrew/bin/brew shellenv) 8 10 else if test -e $HOME/homebrew/bin/brew 9 11 eval ($HOME/homebrew/bin/brew shellenv) 12 + end 13 + 14 + if command -q brew 15 + # the horror that is compiling python using rtx/pyenv on Linux with homebrew libs 16 + set -agx PKG_CONFIG_PATH \ 17 + (brew --prefix readline)/lib/pkgconfig \ 18 + (brew --prefix openssl)/lib/pkgconfig \ 19 + (brew --prefix sqlite3)/lib/pkgconfig \ 20 + (brew --prefix tcl-tk)/lib/pkgconfig \ 21 + (brew --prefix zlib)/lib/pkgconfig \ 22 + (brew --prefix bzip2)/lib/pkgconfig 10 23 end 11 24 12 25 if string match -q -- "*microsoft*" (uname -a) ··· 33 46 set -gx HOMEBREW_TEMP /Volumes/T7/homebrew/tmp 34 47 35 48 fish_add_path -g /Applications/CLion.app/Contents/bin/gdb/mac/bin 36 - else 37 - fish_add_path -g $HOME/.local/bin 38 - 39 - # the horror that is compiling python using rtx/pyenv on Linux with homebrew libs 40 - set -agx PKG_CONFIG_PATH \ 41 - (brew --prefix readline)/lib/pkgconfig \ 42 - (brew --prefix openssl)/lib/pkgconfig \ 43 - (brew --prefix sqlite3)/lib/pkgconfig \ 44 - (brew --prefix tcl-tk)/lib/pkgconfig \ 45 - (brew --prefix zlib)/lib/pkgconfig \ 46 - (brew --prefix bzip2)/lib/pkgconfig 49 + else # linux 47 50 end 48 51 end 49 52 50 - command -sq rtx && rtx activate fish | source && rtx completion fish | source 51 - command -sq starship && starship init fish | source 52 - command -sq direnv && direnv hook fish | source 53 - command -sq zoxide && zoxide init fish | source 53 + command -q rtx && rtx activate fish | source && rtx completion fish | source 54 + command -q starship && starship init fish | source 55 + command -q direnv && direnv hook fish | source 56 + command -q zoxide && zoxide init fish | source 54 57 55 58 bind \er __select_from_last 56 59 bind \e, __commandline_token_search_backward