Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Added for OmniOS illumos distribution #2196

Closed
wants to merge 5 commits into from

Conversation

matt-fidd
Copy link

Description

This PR adds the ascii art for the OmnioOS illumos distribution. I've attached an image to the PR so that you can see what it looks like!

image

Thank you!

@matt-fidd matt-fidd force-pushed the omnios-support branch 3 times, most recently from 5de301d to edad01f Compare September 12, 2022 11:06
@matt-fidd matt-fidd changed the title Added ascii art for OmniOS illumos distribution Added for OmniOS illumos distribution Sep 17, 2022
Comment on lines -1385 to 1396
case $title_fqdn in
on) hostname=$(hostname -f) ;;
case $os-$title_fqdn in
illumos-on|Solaris-on)
hostname=$(hostname)
domainname=$(domainname)
[[ -n "$domainname" ]] && hostname+=".$domainname"
;;
*-on) hostname=$(hostname -f) ;;
*) hostname=${HOSTNAME:-$(hostname)} ;;
esac

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should change this to two case statements. I think it would make the logic clearer.

case $title_fqdn in
    on)
        case $os in
            illumos|Solaris)
                hostname=$(hostname)
                domainname=$(domainname)
                [[ -n "$domainname" ]] && hostname+=".$domainname"
            ;;
            *)
                hostname=$(hostname -f) 
            ;;
        esac
    ;;
    *)
        hostname=${HOSTNAME:-$(hostname)}
        hostname=${hostname%.*}
    ;;
esac

hykilpikonna added a commit to hykilpikonna/hyfetch that referenced this pull request Oct 4, 2022
…bution

Upstream PR: dylanaraps#2196
Thanks to @matt-fidd

Co-authored-by: matt <matt@fiddaman.net>
@hykilpikonna
Copy link

Thank you for your contribution!

This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.

HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.

Read the "Running Updated Original Neofetch" section for more info!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants