Updated config

This commit is contained in:
Eduard Urbach 2025-05-28 16:39:25 +02:00
parent 8fcda55cbd
commit 0943589dd7
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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