2020-02-24 21:55:04 +00:00
|
|
|
set -gx EDITOR nvim
|
2020-05-15 21:58:26 +00:00
|
|
|
|
|
|
|
set -gx GOPATH $HOME/code/go
|
2019-08-18 16:38:17 +00:00
|
|
|
set -gx GOBIN $GOPATH/bin
|
2020-05-15 21:58:26 +00:00
|
|
|
|
2019-12-30 15:06:57 +00:00
|
|
|
set -gx DOTNET_ENVIRONMENT Development
|
2020-02-07 14:57:20 +00:00
|
|
|
set -gx DOTNET_CLI_TELEMETRY_OPTOUT true
|
2020-05-15 21:58:26 +00:00
|
|
|
set -gx DOTNET_ROOT $HOME/.asdf/installs/dotnet-core/(command -sq dotnet; and dotnet --version)
|
|
|
|
|
2019-08-23 13:43:41 +00:00
|
|
|
set -gx PATH $PATH $GOBIN \
|
2020-05-15 21:58:26 +00:00
|
|
|
/snap/bin \
|
|
|
|
$HOME/bin \
|
2019-08-23 13:43:41 +00:00
|
|
|
$HOME/.pub-cache/bin \
|
2020-05-15 21:58:26 +00:00
|
|
|
$HOME/code/scripts \
|
|
|
|
$HOME/code/flutter/bin \
|
2020-01-22 00:51:32 +00:00
|
|
|
$HOME/.cargo/bin \
|
2020-02-01 00:56:40 +00:00
|
|
|
$HOME/.dotnet/tools
|
2019-08-15 04:44:46 +00:00
|
|
|
|
2020-05-15 21:58:26 +00:00
|
|
|
set -gx UNAME (uname)
|
|
|
|
|
2020-02-08 22:10:26 +00:00
|
|
|
command -sq kitty; and kitty + complete setup fish | source
|
2020-05-15 21:58:26 +00:00
|
|
|
|
|
|
|
switch "$UNAME"
|
|
|
|
case 'Linux'
|
|
|
|
test -e ~/.asdf/asdf.fish; and source ~/.asdf/asdf.fish
|
|
|
|
case 'Darwin'
|
|
|
|
test -e (brew --prefix asdf)/asdf.fish; and source (brew --prefix asdf)/asdf.fish
|
|
|
|
end
|
2019-12-30 15:06:57 +00:00
|
|
|
|
2019-08-15 04:44:46 +00:00
|
|
|
# The next line updates PATH for the Google Cloud SDK.
|
2019-09-10 13:59:19 +00:00
|
|
|
# if test -f '/Users/m/Documents/google-cloud-sdk/path.fish.inc'; source '/Users/m/Documents/google-cloud-sdk/path.fish.inc'; end
|
2020-04-17 21:36:44 +00:00
|
|
|
|
|
|
|
# aliases
|
|
|
|
function cp; rsync -aP $argv; end
|
|
|
|
|
|
|
|
function dm; docker-machine $argv; end
|
|
|
|
|
|
|
|
function dm-env; eval (docker-machine env $argv); end
|
|
|
|
|
|
|
|
function v; nvim (fzf); end
|
|
|
|
|
|
|
|
function vg; vagrant $argv; end
|
|
|
|
|
2020-05-15 21:58:26 +00:00
|
|
|
function cat
|
|
|
|
switch "$UNAME"
|
|
|
|
case 'Linux'
|
|
|
|
batcat --theme ansi-dark $argv
|
|
|
|
case 'Darwin'
|
|
|
|
bat --theme ansi-dark $argv
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
function goland
|
|
|
|
switch "$UNAME"
|
|
|
|
case 'Linux'
|
|
|
|
command goland $argv
|
|
|
|
case 'Darwin'
|
|
|
|
open -a Goland $argv
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
function rider
|
|
|
|
switch "$UNAME"
|
|
|
|
case 'Linux'
|
|
|
|
command rider $argv
|
|
|
|
case 'Darwin'
|
|
|
|
open -a Rider $argv
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
function webstorm
|
|
|
|
switch "$UNAME"
|
|
|
|
case 'Linux'
|
|
|
|
command webstorm $argv
|
|
|
|
case 'Darwin'
|
|
|
|
open -a Webstorm $argv
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|