diff options
| author | ache <ache@ache.one> | 2026-01-05 01:23:17 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-01-05 01:23:55 +0100 |
| commit | 11590e1c74ca0d5aa18bfecfdbb28f903bfd907f (patch) | |
| tree | f6c585a30a8268af8d434aed9e0094edac788047 | |
| parent | docs: improve commit message prompt and handle response codes consistently (diff) | |
add support for asdf manager
| -rw-r--r-- | config.fish | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config.fish b/config.fish index ce10b44..a0241b6 100644 --- a/config.fish +++ b/config.fish @@ -106,6 +106,23 @@ end set -x fish_emoji_width 2 +## A nve remplacement +## ASDF configuration code +if test -z $ASDF_DATA_DIR + set _asdf_shims "$HOME/.asdf/shims" +else + set _asdf_shims "$ASDF_DATA_DIR/shims" +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 +set --erase _asdf_shims +# end asdf + +# Fish function description # Load fish shell function description load-em |