Skip to content

Commit f32f887

Browse files
committed
fzf installagion in setup
1 parent cee717d commit f32f887

File tree

5 files changed

+55
-2
lines changed

5 files changed

+55
-2
lines changed

config/maps/plugins/standard_actions/language_translator/de-DE/FUZZY_MAP_pre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,6 @@
185185
# ANCHOR: The following line is controlled by the toggle script.
186186
# best disable before run self-tester rules like: match all to nothing. like: .+ -> or .* -> ''
187187
# TRANSLATION_RULE
188-
#('', r'.+', 5, {'flags': re.IGNORECASE,'on_match_exec': [CONFIG_DIR / 'translate_from_to.py']}),
188+
('', r'.+', 5, {'flags': re.IGNORECASE,'on_match_exec': [CONFIG_DIR / 'translate_from_to.py']}),
189189

190190
]

setup/macos_setup.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,30 @@ fi
152152

153153
echo "--> All components are present and correctly placed."
154154

155+
155156
# ==============================================================================
156157
# --- End of Download/Extract block ---
157158
# ==============================================================================
158159

159160

160161

162+
# --- Install fzf (Fuzzy Finder) ---
163+
if ! command -v fzf &> /dev/null; then
164+
echo "[INFO] fzf not found. Installing..."
165+
# Prüfen, ob brew installiert ist
166+
if command -v brew &> /dev/null; then
167+
brew install fzf
168+
else
169+
echo "[ERROR] Homebrew not found. Please install Homebrew first."
170+
fi
171+
else
172+
echo "[INFO] fzf is already installed."
173+
fi
174+
175+
176+
177+
178+
161179

162180

163181

setup/manjaro_arch_setup.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,13 @@ done
292292
echo " -> Extraction and cleanup successful."
293293

294294

295-
295+
# --- Install fzf (Fuzzy Finder) ---
296+
if ! command -v fzf &> /dev/null; then
297+
echo "[INFO] fzf not found. Installing..."
298+
sudo pacman -S --noconfirm fzf
299+
else
300+
echo "[INFO] fzf is already installed."
301+
fi
296302

297303

298304
source "$(dirname "${BASH_SOURCE[0]}")/../scripts/sh/get_lang.sh"

setup/suse_setup.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,16 @@ echo " -> Extraction and cleanup successful."
294294

295295

296296

297+
# --- Install fzf (Fuzzy Finder) ---
298+
if ! command -v fzf &> /dev/null; then
299+
echo "[INFO] fzf not found. Installing..."
300+
sudo zypper install -y fzf
301+
else
302+
echo "[INFO] fzf is already installed."
303+
fi
304+
305+
306+
297307

298308
source "$(dirname "${BASH_SOURCE[0]}")/../scripts/sh/get_lang.sh"
299309

setup/ubuntu_setup.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,25 @@ echo " -> Extraction and cleanup successful."
286286

287287
source "$(dirname "${BASH_SOURCE[0]}")/../scripts/sh/get_lang.sh"
288288

289+
290+
# --- Install fzf (Fuzzy Finder) ---
291+
if ! command -v fzf &> /dev/null; then
292+
echo "[INFO] fzf not found. Installing..."
293+
# We use apt for simplicity in the setup script
294+
sudo apt-get update && sudo apt-get install -y fzf
295+
296+
# Optional: If you want the latest version with full shell bindings:
297+
# git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
298+
# ~/.fzf/install --all
299+
else
300+
echo "[INFO] fzf is already installed."
301+
fi
302+
303+
304+
305+
306+
307+
289308
# --- 5. Project Configuration ---
290309
# Ensures Python can treat 'config' directories as packages.
291310
echo "--> Creating Python package markers (__init__.py)..."

0 commit comments

Comments
 (0)