Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: autocomplete was overwriting rc files #480

Merged
merged 1 commit into from
Feb 3, 2025
Merged

fix: autocomplete was overwriting rc files #480

merged 1 commit into from
Feb 3, 2025

Conversation

miki725
Copy link
Collaborator

@miki725 miki725 commented Feb 3, 2025

Issue

fix #478

Description

While installing autocomplete script, it was overwriting rc files as nims fmReadWrite:

fmReadWrite, ## Open the file for read and write access.
## If the file does not exist, it will be
## created. Existing files will be cleared!

Reading file first now before explicitly appending to existing file content

Testing

Run chalk version and check how it modifies rc files

While installing autocomplete script, it was overwriting rc files
as nims `fmReadWrite`:

> fmReadWrite, ## Open the file for read and write access.
>              ## If the file does not exist, it will be
>              ## created. Existing files will be cleared!

Reading file first now before explicitly appending to existing file
content
@miki725 miki725 merged commit 6accfd0 into main Feb 3, 2025
4 checks passed
@miki725 miki725 deleted the autocomplete branch February 3, 2025 17:07
@miki725 miki725 mentioned this pull request Feb 3, 2025
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.

macOS installation overwrites ~/.zshrc
3 participants