Skip to content

fix: remove apt-fzf functions (sudo unavailable) - #34

Merged
Tomeriko96 merged 2 commits into
mainfrom
fix/remove-apt-fzf
Sep 25, 2026
Merged

Tomeriko96 merged 2 commits into
mainfrom
fix/remove-apt-fzf

Conversation

@Tomeriko96

Copy link
Copy Markdown

Problem

apt-fzf and apt-fzf-purge bash functions use sudo, but sudo is not installed in the container and the dev user has no root permissions.

Solution

Remove these functions. They're not core devcontainer features, and containers typically use different package management approaches.

Impact

  • ✅ Eliminates "sudo: command not found" errors
  • ✅ Simplifies bash config (removes 46 lines of unused code)
  • ✅ No functionality loss (package mgmt happens via image rebuild, not at runtime)

Test

apt-fzf      # Should error: command not found (expected)

Closes #22.

🤖 Generated with Claude Code

Tomer Iwan added 2 commits September 25, 2026 08:26
TERM was hardcoded to xterm-256color in .bashrc, overriding tmux.conf's
TERM=tmux-256color. This breaks color rendering in tmux-based editors
(nvim) and terminal applications.

Terminal/tmux correctly sets TERM themselves based on $TERM or session
type. Removing the export lets them manage this properly.

Fixes color/display issues when using the devcontainer within tmux.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

Entire-Checkpoint: 93fa1151a4ff
apt-fzf and apt-fzf-purge bash functions use sudo, but sudo is not
installed in the container and dev user has no root permissions.

These functions are not core devcontainer features and containers use
different package management approaches anyway. Removing them prevents
"command not found" errors and simplifies the bash config.

Fixes issue #22.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

Entire-Checkpoint: 044f41449fec
@Tomeriko96
Tomeriko96 merged commit 1bfe8ae into main Sep 25, 2026
1 check passed
@Tomeriko96
Tomeriko96 deleted the fix/remove-apt-fzf branch September 25, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔴 bug: apt-fzf functies gebruiken ontbrekende sudo

1 participant