Refactor config.fish to use functions moved to functions folder

This commit is contained in:
mitchell 2020-08-09 18:59:14 -04:00
parent b5e93105d6
commit 47a88f93d1
10 changed files with 125 additions and 121 deletions

View file

@ -0,0 +1,25 @@
function define_global_variables -d 'Defines all and exclusively globally exported variables'
set -gx AWS_SDK_LOAD_CONFIG true
set -gx DOTNET_ENVIRONMENT Development
set -gx DOTNET_CLI_TELEMETRY_OPTOUT true
set -gx DOTNET_ROOT $HOME/.asdf/installs/dotnet-core/(command -q dotnet; and dotnet --version)
set -gx EDITOR nvim
set -gx FZF_CTRL_T_COMMAND 'ag --hidden --ignore .git -g ""'
set -gx FZF_DEFAULT_COMMAND 'ag --hidden --ignore .git -g ""'
set -gx GOPATH $HOME/code/go
set -gx GOBIN $GOPATH/bin
set -gx LIBVIRT_DEFAULT_URI 'qemu:///system'
set -gx PATH $PATH $GOBIN \
$HOME/.local/bin \
$HOME/.pub-cache/bin \
$HOME/code/scripts \
$HOME/code/flutter/bin \
$HOME/.cargo/bin \
$HOME/.dotnet/tools
end