Spaceship-prompt: Uninstall script deletes whole .zshrc content

Created on 7 Jan 2020  路  9Comments  路  Source: denysdovhan/spaceship-prompt

Current behavior

After running yarn global remove spaceship-prompt if you say yes to running the uninstall script, it nukes the everything in the .zhrc file

Expected behavior

Only remove the spaceship-prompt related bits

Relevant Zsh configuration (.zshrc)

n/a

Environment

Spaceship version: 3.11.2 (use echo $SPACESHIP_VERSION)
Zsh version: 5.7.1
Zsh framework: None
Zsh plugin manager: None
Terminal emulator: Kitty
Operating system: Linux

Screenshot

n/a

Possible solution

bug

All 9 comments

Please run ls -a ~ | grep zsh and paste the output here

$ ls -a ~ | grep zsh
.zsh_history
.zshrc

Hi, is this .zshrc created by you manually ?

Content of this file was deleted ? Not .zshrc file ?

Only the content, the file itself is still there and yes I made it, there was a ton of other stuff in it.

I suspect this line made the deletion happens. @Runrioter can I take this issue?

Sure. Welcome @leonardovillela

Today working on this :). Sorry for the delay.

PR opened :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xhaythemx picture xhaythemx  路  3Comments

olets picture olets  路  3Comments

gillesdemey picture gillesdemey  路  3Comments

ChadTaljaardt picture ChadTaljaardt  路  4Comments

vburojevic picture vburojevic  路  3Comments