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

Need command to print out fish logo #114

Closed
dhasenan opened this issue Jun 12, 2012 · 14 comments
Closed

Need command to print out fish logo #114

dhasenan opened this issue Jun 12, 2012 · 14 comments

Comments

@dhasenan
Copy link

Something like:

function logo
  echo '                  ___
   ___======____=---=)
 /T            \_--===)
 [ \ (0)   \~    \_-==)
  \      / )J~~    \-=)
   \\\\___/  )JJ~~~   \)
    \_____/JJ~~~~~    \\
    / \  , \J~~~~~     \\
   (-\)\=|\\\\\~~~~       L__
   (\\\\)  (\\\\\)_           \==__
    \V    \\\\\) ===_____   \\\\\\\\\\\\
           \V)     \_) \\\\\\\\JJ\J\)
                       /J\JT\JJJJ)
                       (JJJ| \UUU)
                        (UU)'
end

Color would be nice, though.

@tiye
Copy link

tiye commented Sep 9, 2013

Interesting! Can we do that in current version?

@KamilaBorowska
Copy link
Contributor

Sure, version with colors I just made (I wonder who made this logo, and why there is no colored plain text version)...

function logo
    echo '                 '(set_color F00)'___
  ___======____='(set_color FF7F00)'-'(set_color FF0)'-'(set_color FF7F00)'-='(set_color F00)')
/T            \_'(set_color FF0)'--='(set_color FF7F00)'=='(set_color F00)')
[ \ '(set_color FF7F00)'('(set_color FF0)'0'(set_color FF7F00)')   '(set_color F00)'\~    \_'(set_color FF0)'-='(set_color FF7F00)'='(set_color F00)')
 \      / )J'(set_color FF7F00)'~~    \\'(set_color FF0)'-='(set_color F00)')
  \\\\___/  )JJ'(set_color FF7F00)'~'(set_color FF0)'~~   '(set_color F00)'\)
   \_____/JJJ'(set_color FF7F00)'~~'(set_color FF0)'~~    '(set_color F00)'\\
   '(set_color FF7F00)'/ '(set_color FF0)'\  '(set_color FF0)', \\'(set_color F00)'J'(set_color FF7F00)'~~~'(set_color FF0)'~~     '(set_color FF7F00)'\\
  (-'(set_color FF0)'\)'(set_color F00)'\='(set_color FF7F00)'|'(set_color FF0)'\\\\\\'(set_color FF7F00)'~~'(set_color FF0)'~~       '(set_color FF7F00)'L_'(set_color FF0)'_
  '(set_color FF7F00)'('(set_color F00)'\\'(set_color FF7F00)'\\)  ('(set_color FF0)'\\'(set_color FF7F00)'\\\)'(set_color F00)'_           '(set_color FF0)'\=='(set_color FF7F00)'__
   '(set_color F00)'\V    '(set_color FF7F00)'\\\\'(set_color F00)'\) =='(set_color FF7F00)'=_____   '(set_color FF0)'\\\\\\\\'(set_color FF7F00)'\\\\
          '(set_color F00)'\V)     \_) '(set_color FF7F00)'\\\\'(set_color FF0)'\\\\JJ\\'(set_color FF7F00)'J\)
                      '(set_color F00)'/'(set_color FF7F00)'J'(set_color FF0)'\\'(set_color FF7F00)'J'(set_color F00)'T\\'(set_color FF7F00)'JJJ'(set_color F00)'J)
                      (J'(set_color FF7F00)'JJ'(set_color F00)'| \UUU)
                       (UU)'(set_color normal)
end

Still, I believe this is pointless to include in fish release. While I don't think it would take much space (unlike actual graphics - it's just 1.5KB (1137 raw bytes), easily compressible), I also don't see a point about including this image. Something like this is too huge to have in fish_welcome. Then again, feel free to use the function I wrote, if you can find some use for it.

@tiye
Copy link

tiye commented Sep 10, 2013

A use case I found is, when I decide to write notes on Fish, with a nice logo I could make my blog looks prettier :P
screen shot 2013-09-10 at 1 35 16 pm

@KamilaBorowska
Copy link
Contributor

@jiyinyiyong Nothing stops you from using the function I posted in this issue. There is no reason to include every single thing in fish, and I don't think fish logo is any sort useful. This way lies PHP (which, indeed, had TWO functions to get PHP logo, and one to get Zend logo, but they were removed in PHP 5.5) It looks nice, right, but it's just artwork that looks nicely on fish main page.

@tiye
Copy link

tiye commented Sep 10, 2013

@glitchmr I agree. The thing I was thinkng is, generating beautiful logos and decorating the website of Fish.
Adding the code in the Wiki and that is enough. There's no need to have such a function out-of-box.

@ghost
Copy link

ghost commented Sep 11, 2013

Could always make a fish-extras repository for functions which people may find useful to have in their ~/.config/fish/functions directory, but aren't useful enough to include with fish by default. This would probably fall under that category.

@krader1961
Copy link
Contributor

The official logo is included in the source as doc_src/ascii_fish.png. Anyone who wants to can repurpose it for their needs.

@justinmayer
Copy link

In case anyone finds it helpful, my Tackle collection includes the ASCII-based logo via the _logo function: https://github.com/justinmayer/tackle/blob/master/functions/_logo.fish

@laughedelic
Copy link
Contributor

For those who may encounter this issue later, I made a plugin for printing fish logo with different colors and "faces": fish_logo.

@floam
Copy link
Member

floam commented Jun 4, 2016

The official logo is included in the source as doc_src/ascii_fish.png. Anyone who wants to can repurpose it for their needs.

It's kind of awkward having that just as a a pre-rendered PNG image requiring someone to OCR it or find the archived email if they wanted "the source".

I don't really see the harm in including that ASCII art as ASCII text, either somewhere in the repository or as part of the default greeting.

@pathawks
Copy link

pathawks commented Jan 5, 2017

curl https://gist.githubusercontent.com/pathawks/66b8ce97a5b2f26d5356ac6b52bca8c1/raw/73b9493c042e94f196bf543ae0b3a933a973b1c3/fish.txt

Here it is as a text file

@floam floam reopened this Jan 5, 2017
@floam floam self-assigned this Jan 5, 2017
@floam
Copy link
Member

floam commented Jan 5, 2017

Who owns the copyright to this creation? Who is the originator? That mailing list poster?

@krader1961 krader1961 added this to the fish-future milestone Mar 25, 2017
@krader1961
Copy link
Contributor

I'm going to close this, again, for multiple reasons. First, it is five years old and we are not going to add a command to display a text version of the fish logo. Because such a command doesn't serve a legitimate purpose.

We could include a text version of our logo as an alternative to the PNG version we currently have. But the version linked to by @pathawks in his comment assumes the terminal understands ANSI X3.64 escape sequences. While that standard is ubiquitous it is not clear a text version of our logo should require it. Too, nearly five months after @floam asked about attribution for that file we haven't gotten a response.

@pathawks
Copy link

Too, nearly five months after @floam asked about attribution for that file we haven't gotten a response.

Are you asking about the text file in my comment? It's just the output from the script in @xfix's comment.

@faho faho modified the milestones: fish-future, will-not-implement Mar 26, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2020
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

9 participants