Updated config
This commit is contained in:
parent
8fcda55cbd
commit
0943589dd7
21 changed files with 155 additions and 199 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue