Open orhnk opened 1 year ago
Thanks!
I run the script here and the icons are still broken, in the result it points out some lines with errors...
~#@❯ sudo curl https://raw.githubusercontent.com/UTFeight/logo-ls-modernized/master/INSTALL | bash ❮ 1s 591ms % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 458 100 458 0 0 6997 0 --:--:-- --:--:-- --:--:-- 7046 ---- Installing logo-ls for modern Nerd Fonts ----
Cloning Repo Cloning into 'logo-ls-modernized'... remote: Enumerating objects: 596, done. remote: Counting objects: 100% (596/596), done. remote: Compressing objects: 100% (266/266), done. remote: Total 596 (delta 305), reused 589 (delta 301), pack-reused 0 Receiving objects: 100% (596/596), 7.78 MiB | 22.36 MiB/s, done. Resolving deltas: 100% (305/305), done.
Building Project bash: line 12: go: command not found bash: line 13: go: command not found
Adding logo-ls to PATH This operation requires sudo acces prompting now mv: cannot stat 'logo-ls': No such file or directory
Cleaning Repo
Done!
I run the script here and the icons are still broken, in the result it points out some lines with errors...
~#@❯ sudo curl https://raw.githubusercontent.com/UTFeight/logo-ls-modernized/master/INSTALL | bash ❮ 1s 591ms % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 458 100 458 0 0 6997 0 --:--:-- --:--:-- --:--:-- 7046 ---- Installing logo-ls for modern Nerd Fonts ----
Cloning Repo Cloning into 'logo-ls-modernized'... remote: Enumerating objects: 596, done. remote: Counting objects: 100% (596/596), done. remote: Compressing objects: 100% (266/266), done. remote: Total 596 (delta 305), reused 589 (delta 301), pack-reused 0 Receiving objects: 100% (596/596), 7.78 MiB | 22.36 MiB/s, done. Resolving deltas: 100% (305/305), done.
Building Project bash: line 12: go: command not found bash: line 13: go: command not found
Adding logo-ls to PATH This operation requires sudo acces prompting now mv: cannot stat 'logo-ls': No such file or directory
Cleaning Repo
Done!
you don't have go
installed that's why script fails
I'm assuming you're using ubuntu (or any other debian flavored distro) here is what you need to do:
$ sudo apt update && sudo apt install golang-go -y
[!NOTE] The preceding
$
character indicates that command ment to run in your shell (e.g bash)
I run the script here and the icons are still broken, in the result it points out some lines with errors... ~#@❯ sudo curl https://raw.githubusercontent.com/UTFeight/logo-ls-modernized/master/INSTALL | bash ❮ 1s 591ms % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 458 100 458 0 0 6997 0 --:--:-- --:--:-- --:--:-- 7046 ---- Installing logo-ls for modern Nerd Fonts ---- Cloning Repo Cloning into 'logo-ls-modernized'... remote: Enumerating objects: 596, done. remote: Counting objects: 100% (596/596), done. remote: Compressing objects: 100% (266/266), done. remote: Total 596 (delta 305), reused 589 (delta 301), pack-reused 0 Receiving objects: 100% (596/596), 7.78 MiB | 22.36 MiB/s, done. Resolving deltas: 100% (305/305), done. Building Project bash: line 12: go: command not found bash: line 13: go: command not found Adding logo-ls to PATH This operation requires sudo acces prompting now mv: cannot stat 'logo-ls': No such file or directory Cleaning Repo Done!
you don't have
go
installed that's why script failsI'm assuming you're using ubuntu (or any other debian flavored distro) here is what you need to do:
$ sudo apt update && sudo apt install golang-go -y
Note
The preceding
$
character indicates that command ment to run in your shell (e.g bash)
This fix worked spectacularly for me, thank you!
Just for edification of this hapless noob (me) , could you explain what the fix is actually doing? Did the codepoints change in the new Nerdfonts? Or are they organized entirely differently?
Thanks :)
@ISaIGoI bro read the error.
It says mv no such file or directory.
I assume that's because your OS.
The script that I wrote simply moves logo-ls to your $PATH
by moving the binary to /usr/bin/
which in this case, failed.
You just need to figure out how to move the executable to $PATH.
If you need the complete script, remove | bash
postfix from the oneliner that's on the main thread comment.
This fix worked spectacularly for me, thank you!
Just for edification of this hapless noob (me) , could you explain what the fix is actually doing? Did the codepoints change in the new Nerdfonts? Or are they organized entirely differently?
Thanks :)
curl https://raw.githubusercontent.com/UTFeight/logo-ls-modernized/master/INSTALL
This will give you the main script that installs logo-ls
If you want more info furthermore, check the PR that is merged to the cloned repo (in the script)
Thank you @orhnk , this worked perfectly! I was struggling with this for a while, glad it's fixed now, really appreciate it <3
Here is a small script that I wrote to install Latest Nerd Fonts (3.xx) compatible logo-ls
Requires
go
command)Actual fixes are done in this PR Many thanks to the Author Manuth