Hi Martín, Use this command :
env LC_ALL=pick_your_locale ls -l It has been mentioned in FAQs http://fishshell.com/docs/current/faq.html#faq-single-env On Thu, Aug 28, 2014 at 4:09 PM, Martín Cigorraga <martincigorr...@gmail.com> wrote: > Hi, > > On bash I used to prepend any command with LC_ALL=pick_your_locale whenever > I wanted the output in this or that language, how do I achieve the same with > Fish? > > My issue is that I set my locale to Finnish and top, following Finnish > conventions shows the load numbers using commas instead dots like 0,01, > 0,08, 0,14 instead 0.01, 0.08, 0,14. Problem is it is a bit more complicated > to parse this line from tmux when the numbers are represented using commas > instead dots ending with a messy result; instead > http://i.imgur.com/My5KyPt.png I end up with http://i.imgur.com/Ie4wRca.png > (full screenshot: http://i.imgur.com/87rjd6t.png) and that's why I would > like to run top with C or en_US locale. > > How would be the best way to tackle this in Fish? I could use "bash -c > 'LC_ALL=C top'" but I feel that's really, really dirty... > > Regards, > -Martin > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Regards, Siteshwar ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users