fix(fisher): remove magic-enter and clean up fisher plugin handling
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
function magic-enter-cmd --description "Print the command to run when no command was given"
|
|
||||||
set -l cmd ls
|
|
||||||
if command git rev-parse --is-inside-work-tree &>/dev/null
|
|
||||||
set cmd "git status -sb"
|
|
||||||
end
|
|
||||||
echo $cmd
|
|
||||||
end
|
|
||||||
|
|
||||||
function magic-enter
|
|
||||||
set -l cmd (commandline)
|
|
||||||
if test -z "$cmd"
|
|
||||||
commandline -r (magic-enter-cmd)
|
|
||||||
commandline -f suppress-autosuggestion
|
|
||||||
end
|
|
||||||
commandline -f execute
|
|
||||||
end
|
|
||||||
|
|
||||||
function magic-enter-bindings --description "Bind magic-enter for default and vi key bindings"
|
|
||||||
bind \r magic-enter
|
|
||||||
if functions -q fish_vi_key_bindings
|
|
||||||
bind -M insert \r magic-enter
|
|
||||||
bind -M default \r magic-enter
|
|
||||||
end
|
|
||||||
end
|
|
||||||
magic-enter-bindings
|
|
||||||
@@ -1,8 +1 @@
|
|||||||
catppuccin/fish
|
|
||||||
patrickf1/fzf.fish
|
|
||||||
jorgebucaran/fisher
|
jorgebucaran/fisher
|
||||||
jorgebucaran/autopair.fish
|
|
||||||
jorgebucaran/replay.fish
|
|
||||||
nickeb96/puffer-fish
|
|
||||||
mattmc3/magic-enter.fish
|
|
||||||
jorgebucaran/spark.fish
|
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
# Copyright (C) 2026 Rootiest
|
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
||||||
|
|
||||||
function fisher --argument-names cmd --description "A plugin manager for Fish"
|
function fisher --argument-names cmd --description "A plugin manager for Fish"
|
||||||
set --query fisher_path || set --local fisher_path $__fish_config_dir
|
set --query fisher_path || set --local fisher_path $__fish_config_dir
|
||||||
set --local fisher_version 4.4.8
|
set --local fisher_version 4.4.8
|
||||||
|
|||||||
Reference in New Issue
Block a user