diff --git a/.config/fish/conf.d/asdf.fish b/.config/fish/conf.d/asdf.fish index 6744b0f..a6c5ac3 100644 --- a/.config/fish/conf.d/asdf.fish +++ b/.config/fish/conf.d/asdf.fish @@ -1,5 +1,5 @@ # exit if not in interactive -status is-interactive || exit +# status is-interactive || exit # ASDF configuration code if test -z $ASDF_DATA_DIR @@ -10,9 +10,10 @@ end # Do not use fish_add_path (added in Fish 3.2) because it # potentially changes the order of items in PATH -if not contains $_asdf_shims $PATH - set -gx --prepend PATH $_asdf_shims -end +# if not contains $_asdf_shims $PATH +# set -gx --prepend PATH $_asdf_shims +# end +fish_add_path $_asdf_shims set --erase _asdf_shims # Export environment variables @@ -45,6 +46,17 @@ if command -v brew >/dev/null end end +# Save the path to the original asdf binary +set -g ORIGINAL_ASDF (command -s asdf) + +function asdf + if [ (count $argv) -ge 1 -a "$argv[1]" = install ] + CFLAGS="-Wno-error=implicit-function-declaration -O2 -g -fno-stack-check" $ORIGINAL_ASDF $argv + else + $ORIGINAL_ASDF $argv + end +end + # Stuff for building Erlang on Apple ARM (commented out) # if test -d "/opt/homebrew/opt/openssl@1.1/lib" # set -gx LDFLAGS "-L/opt/homebrew/opt/openssl@1.1/lib" diff --git a/.config/fish/conf.d/atuin.fish b/.config/fish/conf.d/atuin.fish index 80075c2..c18326f 100644 --- a/.config/fish/conf.d/atuin.fish +++ b/.config/fish/conf.d/atuin.fish @@ -1,3 +1,7 @@ if status is-interactive + set -gx ATUIN_NOBIND true atuin init fish | source + + bind \cr _atuin_search + bind \e\[1\;5A _atuin_bind_up # ctrl-up end diff --git a/.config/fish/conf.d/k8s.fish b/.config/fish/conf.d/k8s.fish index 411809b..973e75e 100644 --- a/.config/fish/conf.d/k8s.fish +++ b/.config/fish/conf.d/k8s.fish @@ -10,3 +10,7 @@ end function kubectlgetallbindings kubectl get rolebindings,clusterrolebindings --all-namespaces -o custom-columns='KIND:kind,NAMESPACE:metadata.namespace,NAME:metadata.name,SERVICE_ACCOUNTS:subjects[?(@.kind=="ServiceAccount")].name' end + +set -q KREW_ROOT; and set -gx PATH $PATH $KREW_ROOT/.krew/bin; or set -gx PATH $PATH $HOME/.krew/bin + +alias k="kubectl" diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 08ff08d..ccf55ac 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -17,3 +17,6 @@ end # uv fish_add_path "/Users/tedkulp/.local/bin" + +# Added by Windsurf +fish_add_path /Users/tedkulp/.codeium/windsurf/bin diff --git a/.config/ghostty/config b/.config/ghostty/config index b43a3db..ebe9f6c 100644 --- a/.config/ghostty/config +++ b/.config/ghostty/config @@ -4,7 +4,7 @@ # vim: set filetype=dosini : -font-family = "Iosevka NFM" +font-family = "IosevkaTerm Nerd Font Mono" font-size = 14 font-thicken = true grapheme-width-method = unicode @@ -102,7 +102,7 @@ window-padding-balance = false window-padding-color = background window-vsync = true window-inherit-working-directory = true -window-inherit-font-size = true +# window-inherit-font-size = true window-decoration = true window-title-font-family = window-theme = auto