22# todo, investigate later.
33# status stack-trace
44
5- # upfront add homebrew stuff to path
65
6+ # Debugging
77# set fish_trace 1
8+ # fish_trace 1 outputs 3,500 lines when spawning a fresh shell.
9+
810# /Users/paulirish/.homebrew/bin/fish --debug "*" # super noisy
9- # see `fish --print-debug-categories`
10- # /Users/paulirish/.homebrew/bin/fish --debug "abbrs ast-construction char-encoding complete config debug env-dispatch env-export env-locale error event exec exec-fork exec-job-exec exec-job-status fd-monitor history history-file iothread output-invalid path proc-internal-proc proc-job-run proc-pgroup proc-reap-external proc-reap-internal proc-termowner profile-history reader reader-render screen term-support topic-monitor uvar-file uvar-notifier warning warning-path"
11+ # see `fish --print-debug-categories`
12+ # fish --debug "$(fish --print-debug-categories | grep -v "ast-construction" | sed 's| .*||' | string join ',')"
13+ # ^ outputs 11,400 lines of spawning a fresh shell
1114
1215function fish_greeting
1316end
@@ -27,15 +30,13 @@ function ssource --description "source most of my dotfiles, useful if making cha
2730 source ../private/extras.fish
2831 end
2932
30- # for things not checked into git..
33+ # for things not checked into git
3134 if test -e " $HOME /.extra.fish" ;
3235 source ~/.extra.fish
3336 end
3437end
3538
3639
37- fish_add_path $HOME /.homebrew/bin; fish_add_path $HOME /homebrew/bin; # so i can use utils in startup
38-
3940ssource;
4041
4142# I don't need a prompt symbol for you-got-things-in-yr-stash
@@ -95,8 +96,6 @@ set __fish_git_prompt_color_dirtystate 'red'
9596set __fish_git_prompt_color_upstream_ahead ffb90f
9697set __fish_git_prompt_color_upstream_behind blue
9798
98- # Local prompt customization
99- set -e fish_greeting
10099
101100
102101set -g fish_pager_color_completion normal
@@ -105,13 +104,6 @@ set -g fish_pager_color_prefix cyan
105104set -g fish_pager_color_progress cyan
106105
107106
108- # ctrl-b invokes the fancy boi. but this doesnt really work right.
109- bind \ cb git-recent-with-fzf-and -diff
110- if bind -M insert > /dev/null 2>&1
111- bind -M insert \ cb git-recent-with-fzf-and -diff
112- end
113-
114-
115107
116108string match -q " $TERM_PROGRAM " " vscode"
117109and . (code --locate-shell-integration-path fish)
0 commit comments