mirror of
https://github.com/drewcassidy/dotfiles
synced 2024-09-01 18:24:06 +00:00
dont run config on non-interactive shells
This commit is contained in:
parent
7a24438a56
commit
06bd02cd03
@ -1,12 +1,31 @@
|
|||||||
|
if status is-interactive
|
||||||
# setup location variables
|
# setup location variables
|
||||||
set FISH_PATH "$HOME/.config/fish"
|
set FISH_PATH "$HOME/.config/fish"
|
||||||
set FLINE_PATH "$FISH_PATH/fishline"
|
set FLINE_PATH "$FISH_PATH/fishline"
|
||||||
|
|
||||||
set -gx PATH /usr/local/opt/curl/bin $PATH
|
set -gx PATH /usr/local/opt/curl/bin $PATH
|
||||||
|
set -gx PATH /usr/local/opt/ruby/bin $PATH
|
||||||
set -gx PATH /usr/local/opt/openssl/bin $PATH
|
set -gx PATH /usr/local/opt/openssl/bin $PATH
|
||||||
|
set -gx PATH /usr/local/opt/qt/bin $PATH
|
||||||
|
set -gx PATH /usr/local/opt/llvm/bin $PATH
|
||||||
|
set -gx PATH ~/.dotnet/tools $PATH
|
||||||
set -gx PATH ~/Library/Python/2.7/bin $PATH
|
set -gx PATH ~/Library/Python/2.7/bin $PATH
|
||||||
|
set -gx PATH ~/Library/Python/3.8/bin $PATH
|
||||||
|
set -gx PATH ~/.gem/ruby/2.6.0/bin $PATH
|
||||||
|
set -gx PATH /opt/local/bin /opt/local/sbin $PATH
|
||||||
|
|
||||||
set -gx PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig $PKG_CONFIG_PATH
|
set -gx PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig $PKG_CONFIG_PATH
|
||||||
|
set -gx PKG_CONFIG_PATH /usr/local/opt/libffi/lib/pkgconfig $PKG_CONFIG_PATH
|
||||||
|
|
||||||
|
set -gx LDFLAGS -L/usr/local/opt/gettext/lib $LDFLAGS
|
||||||
|
set -gx CPPFLAGS -I/usr/local/opt/gettext/include $CPPFLAGS
|
||||||
|
|
||||||
|
set -gx LDFLAGS -L/usr/local/opt/llvm/lib $LDFLAGS
|
||||||
|
set -gx CPPFLAGS -I/usr/local/opt/llvm/include $CPPFLAGS
|
||||||
|
|
||||||
|
set -gx GOPATH $HOME/Scripts/go
|
||||||
|
set -gx MONO_GAC_PREFIX /usr/local
|
||||||
|
|
||||||
|
|
||||||
# setup FishLine
|
# setup FishLine
|
||||||
source $FLINE_PATH/init.fish
|
source $FLINE_PATH/init.fish
|
||||||
@ -40,4 +59,5 @@ set fish_color_search_match 'bryellow' '--background=brblack'
|
|||||||
set fish_color_selection 'white' '--bold' '--background=brblack'
|
set fish_color_selection 'white' '--bold' '--background=brblack'
|
||||||
set fish_color_user brgreen
|
set fish_color_user brgreen
|
||||||
set fish_color_valid_path --underline
|
set fish_color_valid_path --underline
|
||||||
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user