Updated config

This commit is contained in:
Eduard Urbach 2025-05-28 16:39:25 +02:00
parent 90e01eaea4
commit 666fc20045
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
21 changed files with 155 additions and 199 deletions

View file

@ -1,8 +1,3 @@
# Interactive mode
if status is-interactive
source $HOME/.config/fish/alias.fish
end
# Set environment variables from .env
while read -la line
set -l keyval (string split -m1 "=" $line)
@ -12,10 +7,7 @@ while read -la line
set -xg $key $value
end < ~/.env
# Add scripts to PATH
fish_add_path $XDG_CONFIG_HOME/fish/scripts
# Add Go binaries to PATH
if command -q go
fish_add_path (go env GOPATH)/bin
# Interactive mode aliases
if status is-interactive
source $HOME/.config/fish/alias.fish
end