Adapts fish config
This commit is contained in:
parent
640eccae4c
commit
8b9e750908
1 changed files with 11 additions and 2 deletions
|
|
@ -14,6 +14,13 @@
|
|||
--preview-window 'up,60%,border-bottom,+{2}+3/3,~3' \
|
||||
--bind 'enter:become(nvim {1} +{2})'
|
||||
'';
|
||||
envsource = ''
|
||||
for line in (cat $argv | grep -v '^#')
|
||||
set item (string split -m 1 '=' $line)
|
||||
set -gx $item[1] $item[2]
|
||||
echo "Exported key $item[1]"
|
||||
end
|
||||
'';
|
||||
fish_greeting = "fortune -a";
|
||||
};
|
||||
|
||||
|
|
@ -31,6 +38,8 @@
|
|||
fish_add_path /run/current-system/sw/bin
|
||||
fish_add_path /opt/homebrew/bin
|
||||
|
||||
envsource ~/.env
|
||||
|
||||
fnm env --use-on-cd --shell fish | source
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue