Skip to content

Commit

Permalink
Fix sluggish fish startup
Browse files Browse the repository at this point in the history
  • Loading branch information
OJFord committed Nov 3, 2020
1 parent 535830c commit 059d309
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions fish/config.fish
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
bass source "$HOME/.profile"
bass source .profile
set --unexport fish_greeting
fish_vi_key_bindings

for config in (find "$XDG_CONFIG_HOME/" -name 'config.fish')
if [ "$config" != (status -f) ]
source $config
end
end

for function_d in (find "$XDG_CONFIG_HOME/" -name functions -type d)
for function_d in (find "$XDG_CONFIG_HOME/" -maxdepth 3 -name functions -type d)
set fish_function_path "$function_d" $fish_function_path
end

for completion_d in (find "$XDG_CONFIG_HOME/" -name completions -type d)
for completion_d in (find "$XDG_CONFIG_HOME/" -maxdepth 3 -name completions -type d)
set fish_completion_path "$completion_d" $fish_completion_path
end

Expand Down

0 comments on commit 059d309

Please sign in to comment.