Updated config

This commit is contained in:
Eduard Urbach 2025-06-05 17:57:36 +02:00
parent 2169af6d2a
commit 426f1c6859
Signed by: eduard
GPG key ID: 49226B848C78F6C8
9 changed files with 283 additions and 22 deletions

View file

@ -1,13 +1,13 @@
# Set environment variables from .env
while read -la line
set -l keyval (string split -m1 "=" $line)
set -l key (string trim $keyval[1])
set -l value (string trim $keyval[2..])
set -l value (eval echo $value)
set -xg $key $value
end < ~/.env
# Interactive mode aliases
if status is-interactive
# Aliases
source $HOME/.config/fish/alias.fish
# Set environment variables from .env
while read -la line
set -l keyval (string split -m1 "=" $line)
set -l key (string trim $keyval[1])
set -l value (string trim $keyval[2..])
set -l value (eval echo $value)
set -xg $key $value
end < ~/.env
end