Skip to content

Instantly share code, notes, and snippets.

@romkatv
Created August 15, 2019 14:27
Show Gist options
  • Select an option

  • Save romkatv/81a7c445be629510457589031bd6a4ef to your computer and use it in GitHub Desktop.

Select an option

Save romkatv/81a7c445be629510457589031bd6a4ef to your computer and use it in GitHub Desktop.
Install Powerlevel10k font on Termux
mkdir -p ~/.termux
curl -fsSL -o ~/.termux/font.ttf 'https://github.com/romkatv/dotfiles-public/raw/master/.local/share/fonts/NerdFonts/MesloLGS%20NF%20Regular.ttf'
termux-reload-settings
@JosiasAurel

Copy link
Copy Markdown

Too bad. It got my termux UI destroyed. No text showing anymore. I see squares at random positions.

@romkatv

romkatv commented Nov 28, 2020

Copy link
Copy Markdown
Author

@JosiasAurel That's unfortunate. This might fix it:

rm -f ~/.termux/font.ttf && termux-reload-settings

@JosiasAurel

Copy link
Copy Markdown

It's okay now. I've fixed that already

@romkatv

romkatv commented Nov 28, 2020

Copy link
Copy Markdown
Author

@JosiasAurel If you are using Powerlevel10k, simply run p10k configure and agree to install the font when it asks you. There is no need to run the code from this old gist.

@JosiasAurel

Copy link
Copy Markdown

Okay. But I am trying to get p10k installed on termux. Any help is appreciated ๐Ÿ™

@romkatv

romkatv commented Nov 28, 2020

Copy link
Copy Markdown
Author

The official installation instructions should work: https://github.com/romkatv/powerlevel10k#get-started. You don't need to install the font manually, just agree when asked by the wizard to do it for you.

@Zedai00

Zedai00 commented Feb 20, 2022

Copy link
Copy Markdown

Also see this which is the command run by the official installation
Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment