bum icon indicating copy to clipboard operation
bum copied to clipboard

Install script adds duplicate entries to shell configuration files

Open zanozbot opened this issue 6 months ago • 0 comments

Description

The current install.sh script blindly appends configuration to shell config files (.bashrc, .zshrc, config.fish) without checking if the configuration already exists. This causes duplicate PATH exports and environment variables every time the install script is run.

Steps to reproduce

  1. Run the install script:
curl -fsSL https://github.com/owenizedd/bum/raw/main/install.sh | bash
  1. Run the install script again.
  2. Check your shell config file (e.g., cat ~/.bashrc).
  3. Observe duplicate bum configuration entries.

Expected behaviour

The install script should only add the configuration once.

Environment

OS: Multiple (affects Linux, macOS) Shell: bash, zsh, fish bum version: v0.6.1

zanozbot avatar Jul 29 '25 12:07 zanozbot