Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (14 sloc) 0.531 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
set -x fish_hook_path (dirname (status -f))

# Bootstrap hook by enabling itsself.
function bootstrap
  set --local hook_function_path $fish_hook_path/hook/functions
  set --local hook_complete_path $fish_hook_path/hook/completes

  if not contains $hook_function_path $fish_function_path
    set fish_function_path $fish_function_path $hook_function_path
  end

  if not contains $hook_complete_path $fish_complete_path
    set fish_complete_path $fish_complete_path $hook_complete_path
  end
end

bootstrap
fish_hook_enable hook
Something went wrong with that request. Please try again.