diff --git a/conf.d/magic-enter.fish b/conf.d/magic-enter.fish deleted file mode 100644 index 19b1234..0000000 --- a/conf.d/magic-enter.fish +++ /dev/null @@ -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 diff --git a/fish_plugins b/fish_plugins index b2b5cf3..594dfc0 100644 --- a/fish_plugins +++ b/fish_plugins @@ -1,8 +1 @@ -catppuccin/fish -patrickf1/fzf.fish jorgebucaran/fisher -jorgebucaran/autopair.fish -jorgebucaran/replay.fish -nickeb96/puffer-fish -mattmc3/magic-enter.fish -jorgebucaran/spark.fish diff --git a/functions/fisher.fish b/functions/fisher.fish index 24f7b54..4f5be4f 100644 --- a/functions/fisher.fish +++ b/functions/fisher.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" set --query fisher_path || set --local fisher_path $__fish_config_dir set --local fisher_version 4.4.8