From 88e048f80028466e8ce9edfd1b78cc0b98619901 Mon Sep 17 00:00:00 2001 From: Nikurasu Date: Tue, 21 Mar 2023 08:53:33 +0100 Subject: [PATCH] Add fish config --- fish/conf.d/10-variables.fish | 5 +++++ fish/conf.d/20-commands.fish | 2 ++ fish/config.fish | 9 +++++++++ 3 files changed, 16 insertions(+) create mode 100644 fish/conf.d/10-variables.fish create mode 100644 fish/conf.d/20-commands.fish create mode 100644 fish/config.fish diff --git a/fish/conf.d/10-variables.fish b/fish/conf.d/10-variables.fish new file mode 100644 index 0000000..394ec57 --- /dev/null +++ b/fish/conf.d/10-variables.fish @@ -0,0 +1,5 @@ +set -gx GOPATH $HOME/go +set -gxa PATH $GOROOT/bin $GOPATH/bin +set -gx VOLTA_HOME $HOME/.volta +set -gxa PATH $VOLTA_HOME/bin + diff --git a/fish/conf.d/20-commands.fish b/fish/conf.d/20-commands.fish new file mode 100644 index 0000000..8a5b4d6 --- /dev/null +++ b/fish/conf.d/20-commands.fish @@ -0,0 +1,2 @@ +git config --global user.name $GITUSER +git config --global user.email $GITEMAIL diff --git a/fish/config.fish b/fish/config.fish new file mode 100644 index 0000000..819b2ea --- /dev/null +++ b/fish/config.fish @@ -0,0 +1,9 @@ +if status is-interactive + # Commands to run in interactive sessions can go here +end + +if test -e $HOME/Documents/coding/dotfiles/shell/alias/alias + . $HOME/Documents/coding/dotfiles/shell/alias/alias +end + +starship init fish | source