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

Comments

Projects
None yet
8 participants
@dhasenan

dhasenan commented Jun 12, 2012

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.

@jiyinyiyong

This comment has been minimized.

Show comment
Hide comment
@jiyinyiyong

jiyinyiyong Sep 9, 2013

Interesting! Can we do that in current version?

jiyinyiyong commented Sep 9, 2013

Interesting! Can we do that in current version?

@xfix

This comment has been minimized.

Show comment
Hide comment
@xfix

xfix Sep 9, 2013

Member

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.

Member

xfix commented Sep 9, 2013

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.

@jiyinyiyong

This comment has been minimized.

Show comment
Hide comment
@jiyinyiyong

jiyinyiyong 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

jiyinyiyong 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

@xfix

This comment has been minimized.

Show comment
Hide comment
@xfix

xfix Sep 10, 2013

Member

@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.

Member

xfix commented Sep 10, 2013

@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.

@jiyinyiyong

This comment has been minimized.

Show comment
Hide comment
@jiyinyiyong

jiyinyiyong 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.

jiyinyiyong 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

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost 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.

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

This comment has been minimized.

Show comment
Hide comment
@krader1961

krader1961 Apr 6, 2016

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.

Contributor

krader1961 commented Apr 6, 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.

@krader1961 krader1961 closed this Apr 6, 2016

@justinmayer

This comment has been minimized.

Show comment
Hide comment
@justinmayer

justinmayer Apr 6, 2016

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

justinmayer commented Apr 6, 2016

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

@krader1961 krader1961 added question and removed enhancement labels Apr 6, 2016

@krader1961 krader1961 removed this from the fish-future milestone Apr 6, 2016

@sindresorhus sindresorhus referenced this issue May 1, 2016

Merged

Add Fish #636

@laughedelic

This comment has been minimized.

Show comment
Hide comment
@laughedelic

laughedelic Jun 3, 2016

Contributor

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

Contributor

laughedelic commented Jun 3, 2016

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

@floam

This comment has been minimized.

Show comment
Hide comment
@floam

floam Jun 4, 2016

Member

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.

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

This comment has been minimized.

Show comment
Hide comment
@pathawks

pathawks Jan 5, 2017

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

Here it is as a text file

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

This comment has been minimized.

Show comment
Hide comment
@floam

floam Jan 5, 2017

Member

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

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

This comment has been minimized.

Show comment
Hide comment
@krader1961

krader1961 May 22, 2017

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.

Contributor

krader1961 commented May 22, 2017

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.

@krader1961 krader1961 closed this May 22, 2017

@pathawks

This comment has been minimized.

Show comment
Hide comment
@pathawks

pathawks May 22, 2017

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.

pathawks commented May 22, 2017

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.

erikphansen added a commit to erikphansen/bin that referenced this issue Jul 12, 2017

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