Skip to content

Japoneris/Pikachu_Greeting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Pikachu Greeting

This is for customizing fish shell. I am just tired of always having the same greeting message when starting my shell.

Instead of having a fixed greeting message, it select one randomly among a folder selection.

You need to do two things to set up :

  • First, configure a folder, anywhere accessible on your computer. Put *.txt files to print in. See example folder for testing. Change the PIKACHU_GREETING with absolute path to the folder with *.txt files.

  • Second, you need to set up the fish greeter :

function fish_greeting
  fish PATH_TO_THE_FOLDER_CONTAINING/fish.sh
end

funcsave fish_greeting

In my case, I have a pika folder on my Home directory.

Enjoy!

PS : You still have to find nice things to print.

NB : If you don't want to store the script file, you can directly insert it in the fish_greeting function

Pikachu is nice !!

Examples :

Just look at the example folder.

Configure the size of your shell to match correcly the images. Go to Edit->Preferences and change columns/row of your shell. Mine is 24 rows, so most of the examples fit this size.

For ASCII images, goto online convertor for simplicity. Take care of the size of the output. I will recommand TEXT-IMAGE which allow to set the size of the ASCII image.

About

Fish random greeter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages