mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Fish updates
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
if test -x /opt/homebrew/bin/brew
|
||||
/opt/homebrew/bin/brew shellenv fish | source
|
||||
if test -d (brew --prefix)"/share/fish/completions"
|
||||
@@ -14,5 +13,17 @@ if command -q starship
|
||||
starship init fish --print-full-init | source
|
||||
end
|
||||
|
||||
function install_fisher
|
||||
if not test -e ~/.config/fish/functions/fisher.fish
|
||||
echo "Installing Fisher for fish shell..."
|
||||
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source
|
||||
fisher install jorgebucaran/fisher
|
||||
end
|
||||
end
|
||||
|
||||
if status --is-interactive
|
||||
install_fisher
|
||||
end
|
||||
|
||||
# Want this at the bottom to put this path first
|
||||
fish_add_path --move --path {$HOME}/bin
|
||||
|
||||
2
dotfiles/config/fish/fish_plugins
Normal file
2
dotfiles/config/fish/fish_plugins
Normal file
@@ -0,0 +1,2 @@
|
||||
jorgebucaran/fisher
|
||||
wfxr/forgit
|
||||
@@ -2,6 +2,10 @@
|
||||
# VERSION: 3.0
|
||||
SETUVAR EDITOR:vim
|
||||
SETUVAR __fish_initialized:3800
|
||||
SETUVAR _fisher_jorgebucaran_2F_fisher_files:\x7e/\x2econfig/fish/functions/fisher\x2efish\x1e\x7e/\x2econfig/fish/completions/fisher\x2efish
|
||||
SETUVAR _fisher_plugins:jorgebucaran/fisher\x1ewfxr/forgit
|
||||
SETUVAR _fisher_upgraded_to_4_4:\x1d
|
||||
SETUVAR _fisher_wfxr_2F_forgit_files:\x7e/\x2econfig/fish/conf\x2ed/bin\x1e\x7e/\x2econfig/fish/conf\x2ed/forgit\x2eplugin\x2efish\x1e\x7e/\x2econfig/fish/completions/_git\x2dforgit\x1e\x7e/\x2econfig/fish/completions/git\x2dforgit\x2ebash\x1e\x7e/\x2econfig/fish/completions/git\x2dforgit\x2efish
|
||||
SETUVAR fish_color_autosuggestion:4D5566
|
||||
SETUVAR fish_color_cancel:\x2d\x2dreverse
|
||||
SETUVAR fish_color_command:39BAE6
|
||||
|
||||
Reference in New Issue
Block a user