~gpanders/dotfiles

ref: 2da1dde5ea566f82ebe6532bc6d3b8670fd77ce8 dotfiles/fish/.config/fish/conf.d/fisher.fish -rw-r--r-- 521 bytes
2da1dde5Greg Anders Note 'open' subcommand opens editor in NOTES_DIR when no argument given 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set -q XDG_CONFIG_HOME
or set XDG_CONFIG_HOME $HOME/.config

set -g fisher_path $XDG_CONFIG_HOME/fish/fisher

set fish_function_path $fish_function_path[1] $fisher_path/functions $fish_function_path[2..-1]
set fish_complete_path $fish_complete_path[1] $fisher_path/completions $fish_complete_path[2..-1]

if not functions -q fisher
    curl https://git.io/fisher --create-dirs -sLo $fisher_path/functions/fisher.fish
    fish -c fisher
end

for file in $fisher_path/conf.d/*.fish
    builtin source $file 2>/dev/null
end