mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Refactor config.fish to use functions moved to functions folder
This commit is contained in:
parent
b5e93105d6
commit
47a88f93d1
10 changed files with 125 additions and 121 deletions
25
.config/fish/functions/define_global_variables.fish
Normal file
25
.config/fish/functions/define_global_variables.fish
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue