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,43 +1,63 @@
|
|||||||
# setup location variables
|
if status is-interactive
|
||||||
set FISH_PATH "$HOME/.config/fish"
|
# setup location variables
|
||||||
set FLINE_PATH "$FISH_PATH/fishline"
|
set FISH_PATH "$HOME/.config/fish"
|
||||||
|
set FLINE_PATH "$FISH_PATH/fishline"
|
||||||
set -gx PATH /usr/local/opt/curl/bin $PATH
|
|
||||||
set -gx PATH /usr/local/opt/openssl/bin $PATH
|
set -gx PATH /usr/local/opt/curl/bin $PATH
|
||||||
set -gx PATH ~/Library/Python/2.7/bin $PATH
|
set -gx PATH /usr/local/opt/ruby/bin $PATH
|
||||||
|
set -gx PATH /usr/local/opt/openssl/bin $PATH
|
||||||
set -gx PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig $PKG_CONFIG_PATH
|
set -gx PATH /usr/local/opt/qt/bin $PATH
|
||||||
|
set -gx PATH /usr/local/opt/llvm/bin $PATH
|
||||||
# setup FishLine
|
set -gx PATH ~/.dotnet/tools $PATH
|
||||||
source $FLINE_PATH/init.fish
|
set -gx PATH ~/Library/Python/2.7/bin $PATH
|
||||||
source $FISH_PATH/fishline_colors.fish
|
set -gx PATH ~/Library/Python/3.8/bin $PATH
|
||||||
set FLCLR_USER_BG blue
|
set -gx PATH ~/.gem/ruby/2.6.0/bin $PATH
|
||||||
set FLCLR_USER_FG white
|
set -gx PATH /opt/local/bin /opt/local/sbin $PATH
|
||||||
|
|
||||||
# setup colors
|
set -gx PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig $PKG_CONFIG_PATH
|
||||||
set -gx GCC_COLORS 'error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
set -gx PKG_CONFIG_PATH /usr/local/opt/libffi/lib/pkgconfig $PKG_CONFIG_PATH
|
||||||
set -gx CLICOLOR 1
|
|
||||||
set -gx LSCOLORS 'ExcxdxfxgxxexcxdxfBxBx'
|
set -gx LDFLAGS -L/usr/local/opt/gettext/lib $LDFLAGS
|
||||||
|
set -gx CPPFLAGS -I/usr/local/opt/gettext/include $CPPFLAGS
|
||||||
set fish_color_autosuggestion 'brblack'
|
|
||||||
set fish_color_cancel -r
|
set -gx LDFLAGS -L/usr/local/opt/llvm/lib $LDFLAGS
|
||||||
set fish_color_command --bold
|
set -gx CPPFLAGS -I/usr/local/opt/llvm/include $CPPFLAGS
|
||||||
set fish_color_comment red
|
|
||||||
set fish_color_cwd green
|
set -gx GOPATH $HOME/Scripts/go
|
||||||
set fish_color_cwd_root red
|
set -gx MONO_GAC_PREFIX /usr/local
|
||||||
set fish_color_end brmagenta
|
|
||||||
set fish_color_error brred
|
|
||||||
set fish_color_escape 'bryellow' '--bold'
|
# setup FishLine
|
||||||
set fish_color_history_current --bold
|
source $FLINE_PATH/init.fish
|
||||||
set fish_color_host normal
|
source $FISH_PATH/fishline_colors.fish
|
||||||
set fish_color_match --background=brblue
|
set FLCLR_USER_BG blue
|
||||||
set fish_color_normal normal
|
set FLCLR_USER_FG white
|
||||||
set fish_color_operator bryellow
|
|
||||||
set fish_color_param cyan
|
# setup colors
|
||||||
set fish_color_quote yellow
|
set -gx GCC_COLORS 'error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||||
set fish_color_redirection brblue
|
set -gx CLICOLOR 1
|
||||||
set fish_color_search_match 'bryellow' '--background=brblack'
|
set -gx LSCOLORS 'ExcxdxfxgxxexcxdxfBxBx'
|
||||||
set fish_color_selection 'white' '--bold' '--background=brblack'
|
|
||||||
set fish_color_user brgreen
|
set fish_color_autosuggestion 'brblack'
|
||||||
set fish_color_valid_path --underline
|
set fish_color_cancel -r
|
||||||
|
set fish_color_command --bold
|
||||||
|
set fish_color_comment red
|
||||||
|
set fish_color_cwd green
|
||||||
|
set fish_color_cwd_root red
|
||||||
|
set fish_color_end brmagenta
|
||||||
|
set fish_color_error brred
|
||||||
|
set fish_color_escape 'bryellow' '--bold'
|
||||||
|
set fish_color_history_current --bold
|
||||||
|
set fish_color_host normal
|
||||||
|
set fish_color_match --background=brblue
|
||||||
|
set fish_color_normal normal
|
||||||
|
set fish_color_operator bryellow
|
||||||
|
set fish_color_param cyan
|
||||||
|
set fish_color_quote yellow
|
||||||
|
set fish_color_redirection brblue
|
||||||
|
set fish_color_search_match 'bryellow' '--background=brblack'
|
||||||
|
set fish_color_selection 'white' '--bold' '--background=brblack'
|
||||||
|
set fish_color_user brgreen
|
||||||
|
set fish_color_valid_path --underline
|
||||||
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user