Re: [Fish-users] status current-line-number

2017-08-19 Thread Kurtis Rader
On Sat, Aug 19, 2017 at 8:22 AM, Mark Volkmann wrote: > > Okay, I see that works. > But I wonder why current-line-number behaves differently than > current-function and current-filename. > I can use parens around those to output them with an echo. > Parentheses create

Re: [Fish-users] status current-line-number

2017-08-19 Thread Mark Volkmann
On Sat, Aug 19, 2017 at 9:02 AM, Greg Reagle wrote: > On Sat, Aug 19, 2017, at 09:59, Mark Volkmann wrote: > > Removing the parens causes it to output "at line number status > current-line-number". > > > > On Sat, Aug 19, 2017 at 8:23 AM, Greg Reagle

Re: [Fish-users] status current-line-number

2017-08-19 Thread Kurtis Rader
On Sat, Aug 19, 2017 at 5:37 AM, Mark Volkmann wrote: > I'm doing this inside a function: > echo at line number (status current-line-number) > But no matter where I put this in my function, it always outputs 2. > Am I using it incorrectly? > At the moment that feature

Re: [Fish-users] status current-line-number

2017-08-19 Thread Mark Volkmann
Removing the parens causes it to output "at line number status current-line-number". On Sat, Aug 19, 2017 at 8:23 AM, Greg Reagle wrote: > On Sat, Aug 19, 2017, at 08:37, Mark Volkmann wrote: > > I'm doing this inside a function: > > echo at line number (status

Re: [Fish-users] status current-line-number

2017-08-19 Thread Greg Reagle
On Sat, Aug 19, 2017, at 08:37, Mark Volkmann wrote: > I'm doing this inside a function: > echo at line number (status current-line-number) > But no matter where I put this in my function, it always outputs 2. > Am I using it incorrectly? Take it out of the parentheses.

[Fish-users] status current-line-number

2017-08-19 Thread Mark Volkmann
I'm doing this inside a function: echo at line number (status current-line-number) But no matter where I put this in my function, it always outputs 2. Am I using it incorrectly? -- R. Mark Volkmann Object Computing, Inc.