Merge branch 'master' of github.com:tedkulp/dotfiles

This commit is contained in:
2025-06-23 14:48:40 -04:00
5 changed files with 29 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
# exit if not in interactive # exit if not in interactive
status is-interactive || exit # status is-interactive || exit
# ASDF configuration code # ASDF configuration code
if test -z $ASDF_DATA_DIR if test -z $ASDF_DATA_DIR
@@ -10,9 +10,10 @@ end
# Do not use fish_add_path (added in Fish 3.2) because it # Do not use fish_add_path (added in Fish 3.2) because it
# potentially changes the order of items in PATH # potentially changes the order of items in PATH
if not contains $_asdf_shims $PATH # if not contains $_asdf_shims $PATH
set -gx --prepend PATH $_asdf_shims # set -gx --prepend PATH $_asdf_shims
end # end
fish_add_path $_asdf_shims
set --erase _asdf_shims set --erase _asdf_shims
# Export environment variables # Export environment variables
@@ -45,6 +46,17 @@ if command -v brew >/dev/null
end end
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) # Stuff for building Erlang on Apple ARM (commented out)
# if test -d "/opt/homebrew/opt/openssl@1.1/lib" # if test -d "/opt/homebrew/opt/openssl@1.1/lib"
# set -gx LDFLAGS "-L/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 if status is-interactive
set -gx ATUIN_NOBIND true
atuin init fish | source atuin init fish | source
bind \cr _atuin_search
bind \e\[1\;5A _atuin_bind_up # ctrl-up
end end

View File

@@ -10,3 +10,7 @@ end
function kubectlgetallbindings 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' kubectl get rolebindings,clusterrolebindings --all-namespaces -o custom-columns='KIND:kind,NAMESPACE:metadata.namespace,NAME:metadata.name,SERVICE_ACCOUNTS:subjects[?(@.kind=="ServiceAccount")].name'
end 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 # uv
fish_add_path "/Users/tedkulp/.local/bin" 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 : # vim: set filetype=dosini :
font-family = "Iosevka NFM" font-family = "IosevkaTerm Nerd Font Mono"
font-size = 14 font-size = 14
font-thicken = true font-thicken = true
grapheme-width-method = unicode grapheme-width-method = unicode
@@ -102,7 +102,7 @@ window-padding-balance = false
window-padding-color = background window-padding-color = background
window-vsync = true window-vsync = true
window-inherit-working-directory = true window-inherit-working-directory = true
window-inherit-font-size = true # window-inherit-font-size = true
window-decoration = true window-decoration = true
window-title-font-family = window-title-font-family =
window-theme = auto window-theme = auto