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

Uninstall fonts #407

Closed
jeusdi opened this issue Nov 23, 2019 · 7 comments
Closed

Uninstall fonts #407

jeusdi opened this issue Nov 23, 2019 · 7 comments

Comments

@jeusdi
Copy link

jeusdi commented Nov 23, 2019

Is there anyway to uninstall installed fonts using install.sh script?

@ryanoasis
Copy link
Owner

@jeusdi Not currently no, this could be an interesting feature though. Pull requests are always welcome.

I am closing this for now, if there is enough desire for this we can re-open and evaluate 😄

@cdmeister
Copy link

cdmeister commented Jan 7, 2021

I just wanted to mention that it might be useful to have this. I ran into an issue with ubuntu 20.04 when I applied a gnome shell theme, the font got all messed up after I installed Nerd Font. just my 2 cents

@AirHeadsbuirse
Copy link

sudo rm -f -r /share/fonts/NerdFonts/
fc-cache -fv

Works on Kali to delete NerdFonts and restore my font cache

@Finii
Copy link
Collaborator

Finii commented Apr 22, 2022

This is the first time I looked into the script...

Is install.sh --clean --minimal not working? It should do exactly what @Teeyawn suggested if I can still read?!

Explanation:
--clean removes all previously installed Nerd Fonts
--minimal installs all minimally patched fonts, which are ... none

Well... I have created a proper PR, hold tight.

Finii added a commit that referenced this issue Apr 22, 2022
[why]
Maybe people would like to uninstall the fonts installed with the
script.

In fact the uninstall could already be acieved by giving the --clean
option and installing no new font. Well, apart from the fact that the
scripts prevents runs with no installed font. And then the user must
specify the same installpath that has been used for the install, which
is a bit tedious.

[how]
Add new command '--remove' (with no short option).
Make -L / --list option a dry-run option for --remove.
Uninstall both possible installpaths.

Fixes: #407

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii Finii mentioned this issue Apr 22, 2022
2 tasks
Finii added a commit that referenced this issue Apr 22, 2022
[why]
Maybe people would like to uninstall the fonts installed with the
script.

In fact the uninstall could already be acieved by giving the --clean
option and installing no new font. Well, apart from the fact that the
scripts prevents runs with no installed font. And then the user must
specify the same installpath that has been used for the install, which
is a bit tedious.

[how]
Add new command '--remove' (with no short option).
Make -L / --list option a dry-run option for --remove.
Uninstall both possible installpaths.

Fixes: #407

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@AirHeadsbuirse
Copy link

thank you!

Finii added a commit that referenced this issue Sep 14, 2022
[why]
Maybe people would like to uninstall the fonts installed with the
script.

In fact the uninstall could already be acieved by giving the --clean
option and installing no new font. Well, apart from the fact that the
scripts prevents runs with no installed font. And then the user must
specify the same installpath that has been used for the install, which
is a bit tedious.

[how]
Add new command '--remove' (with no short option).
Make -L / --list option a dry-run option for --remove.
Uninstall both possible installpaths.

Fixes: #407

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Finii added a commit that referenced this issue Sep 14, 2022
[why]
Maybe people would like to uninstall the fonts installed with the
script.

In fact the uninstall could already be acieved by giving the --clean
option and installing no new font. Well, apart from the fact that the
scripts prevents runs with no installed font. And then the user must
specify the same installpath that has been used for the install, which
is a bit tedious.

[how]
Add new command '--remove' (with no short option).
Make -L / --list option a dry-run option for --remove.
Uninstall both possible installpaths.

Fixes: #407

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii
Copy link
Collaborator

Finii commented Sep 14, 2022

Finally merged.

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2023
LNKLEO pushed a commit to LNKLEO/Nerd that referenced this issue Nov 24, 2023
[why]
Maybe people would like to uninstall the fonts installed with the
script.

In fact the uninstall could already be acieved by giving the --clean
option and installing no new font. Well, apart from the fact that the
scripts prevents runs with no installed font. And then the user must
specify the same installpath that has been used for the install, which
is a bit tedious.

[how]
Add new command '--remove' (with no short option).
Make -L / --list option a dry-run option for --remove.
Uninstall both possible installpaths.

Fixes: ryanoasis#407

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants