wip: dnsc-machine config

This commit is contained in:
Dennis Schoepf 2025-11-21 15:05:33 +01:00
parent baf0df6e0f
commit c086302598
4 changed files with 52 additions and 14 deletions

View file

@ -148,7 +148,17 @@
set -x GPG_TTY (tty)
fish_add_path /run/current-system/sw/bin
fish_add_path /opt/homebrew/bin
switch (uname)
case Darwin
fish_add_path /opt/homebrew/bin
if test -d (brew --prefix)"/share/fish/completions"
set -p fish_complete_path (brew --prefix)/share/fish/completions
end
if test -d (brew --prefix)"/share/fish/vendor_completions.d"
set -p fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
end
end
envsource ~/.env
@ -157,15 +167,7 @@
fnm env --use-on-cd --shell fish | source
# Temporary fix because of https://github.com/atuinsh/atuin/issues/2803
atuin init fish | sed 's/-k up/up/' | source
if test -d (brew --prefix)"/share/fish/completions"
set -p fish_complete_path (brew --prefix)/share/fish/completions
end
if test -d (brew --prefix)"/share/fish/vendor_completions.d"
set -p fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
end
# atuin init fish | sed 's/-k up/up/' | source
'';
shellAbbrs = {