From bd008cde0466e5c7c7e7367cf58c7b7fdd7fbc68 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 19 Jan 2026 10:35:19 +0100 Subject: [PATCH] fix: remove 'edit_editor_config' alias --- dots/.bashrc.d/editor | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/dots/.bashrc.d/editor b/dots/.bashrc.d/editor index fbf0a99..2d274fc 100644 --- a/dots/.bashrc.d/editor +++ b/dots/.bashrc.d/editor @@ -4,16 +4,3 @@ # Set NeoVim as default editor export EDITOR=nvim export SUDO_EDITOR="$EDITOR" - -declare -A -r EDITOR_CONFIGS=( - ["nvim"]="$HOME/.config/nvim/init.lua" - ["vim"]="$HOME/.vimrc" -) - -edit_editor_config() { - for editor in "${!EDITOR_CONFIGS[@]}"; do - if [ "$EDITOR" = "$editor" ]; then - $EDITOR "${EDITOR_CONFIGS[$editor]}" - fi - done -}