cybardev / cutefetch

Tiny coloured fetch script with cute little animals
https://cutefetch.cybar.dev
GNU General Public License v3.0
44 stars 4 forks source link

Cutefetch Look broken #3

Closed FeyRetro closed 2 years ago

FeyRetro commented 2 years ago

Hello, is there any possible fix for this issue? I didn't tamper with source code, What I do after downloading the script is copied it to my home bin folder.

Distro : Zorin OS 16.1 Lite Terminal : xfce4-terminal Shell : zsh

image

cybardev commented 2 years ago

Looks like I messed up the icons on Linux. Thanks for pointing it out. Will fix it soon.

cybardev commented 2 years ago

@FeyRetro Give this updated script a try. Let me know if that solves it.

FeyRetro commented 2 years ago

I tried the updated script in bash, it's worked. But in zsh, it's kinda work, The symbol appear but has "$" symbol on the end, and it has no color

image This one using bash cutefetch

image Then this one with only cutefetch, Since I use zsh as default shell.

I think it's the zsh issue but i'm not sure

cybardev commented 2 years ago

@FeyRetro Could you please try changing the first line from #!/bin/sh to #!/usr/bin/env bash and see if that works?

This will automatically use bash to run the script instead of the default shell.

FeyRetro commented 2 years ago

image

So I do what you told me and it's work perfectly, I only typed cutefetch without bash Thanks so much for the fix, should I close the issue or you have anything to say?

cybardev commented 2 years ago

Nope, that's all. Thanks for the issue.

I'll close the issue myself after merging pull request #4