Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fish_greeting new line char behaviour #1312

Closed
xnaveira opened this Issue · 5 comments

3 participants

@xnaveira

I wanted to have fortune quotes (this is the quotes generated by the fortune command) at login so I edited my ~/.config/config.fish file with the folowing line:

set fish_greeting (fortune)

But the multiline quotes are showing all in the same line

@zanchey
Collaborator

You are getting bitten by #159. I can't work out what the best way to work around it is for you.

@xnaveira

At least I know what's going on, thank you.

@siteshwar
Collaborator

Well at least this should work in your case :

function fish_greeting
        fortune
end
@zanchey
Collaborator

@xnaveira, can you use the function approach as suggested by @siteshwar?

@siteshwar siteshwar added the question label
@siteshwar
Collaborator

I was able to get correct newline behavior on my system with the fix I suggested. Closing this issue.

@siteshwar siteshwar closed this
@siteshwar siteshwar was assigned by zanchey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.