diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 09866d3..1f0985d 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -3,7 +3,11 @@ if status is-interactive set -x LS_COLORS di=0:ln=0:so=0:pi=0:ex=0:bd=0:cd=0:su=0:sg=0:tw=0:ow=0 end -set -x LANG en_US.UTF-8 +for line in (systemctl --user show-environment) + set key (echo $line | cut -d "=" -f 1) + set value (echo $line | cut -d "=" -f 2-) + set -x $key $value +end fish_add_path $GOPATH/bin -fish_add_path $HOME/.local/bin +fish_add_path $HOME/.local/bin \ No newline at end of file diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index 82c33b4..4eeb3c5 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -2,5 +2,5 @@ function fish_prompt set_color $fish_color_cwd echo -n (prompt_pwd) set_color normal - printf ' ' + printf " " end