This commit is contained in:
Ted Kulp
2025-06-23 09:48:55 -04:00
parent d61fcef602
commit 9690dcaaf7
5 changed files with 29 additions and 6 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -17,3 +17,6 @@ end
# uv
fish_add_path "/Users/tedkulp/.local/bin"
# Added by Windsurf
fish_add_path /Users/tedkulp/.codeium/windsurf/bin

View File

@@ -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