Re: [Fish-users] Error, am I compiling the right version

2012-01-31 Thread i...@whywouldwe.com
On 31/01/2012 02:27, Jan Kanis wrote: > That addition of ptrdiff_t was added in one of the last changesets. So > you're probably compiling the right version, but there's a bug. It > appears that on my system, ptrdiff_t is defined through including > , which is more or less accidentally included

Re: [Fish-users] Error, am I compiling the right version

2012-01-30 Thread i...@whywouldwe.com
morrow. Jan On Mon, Jan 30, 2012 at 17:30, i...@whywouldwe.com <mailto:i...@whywouldwe.com> <mailto:i...@whywouldwe.com>> wrote: Hi I've got a new machine and need to install fish. I've downloaded the current master branch from gito

[Fish-users] Error, am I compiling the right version

2012-01-30 Thread i...@whywouldwe.com
Hi I've got a new machine and need to install fish. I've downloaded the current master branch from gitorious but am getting this error when I run make ... gcc -g -O2 -std=c99 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-optimize-sibling-calls -Wall -DLOCALEDIR=\"/usr/local/share/locale\"

Re: [Fish-users] ls problem

2011-09-29 Thread i...@whywouldwe.com
In case you would need to list dirs starting with "V" you need only `*ls -dl V**` 2) For linux, multiple slashes does not matter - you can try `cd //home` and you will see. Z On 09/29/2011 08:04 AM, i...@whywouldwe.com wrote: When I do `ls -d1 */` on

[Fish-users] ls problem

2011-09-28 Thread i...@whywouldwe.com
When I do `ls -d1 */` on my mac I get dir1/ dir2/ but on an Ubuntu server (fish installed via apt-get) I get dir1// dir2// Does anyone know how to fix this? Or even where the problem lies? -- All th

Re: [Fish-users] passing a \n verbatim in a command substitution

2011-09-15 Thread i...@whywouldwe.com
Doesn't xargs work, this would be the 'normal' way eg ls -1 | xargs -I var echo var compared to ls -1 | xargs echo On 16/09/2011 04:18, Jan Kanis wrote: Hi everyone, I ran into the following problem: I want to pass the result of one command as the parameter of another command.

Re: [Fish-users] fish out of date

2011-08-29 Thread i...@whywouldwe.com
I use it daily and haven't encountered any bugs so it doesn't need touching as far as I can tell. On 26/08/2011 15:13, jan vaclavik wrote: > I REALLY like fish but it wasen't > touch much since March 2009.I don't > feel safe using 2 years old > shell.Should i be concerned? > > > ---

Re: [Fish-users] Axel is not yet lost

2011-07-13 Thread i...@whywouldwe.com
Excellent news, has made my day. On 13/07/2011 17:48, Martin Bähr wrote: > hi, > > axel just posted the following on LWN: > after i told him that we miss him: > >> I got a bit burned out, but I hope to get the energy and >> enthusiasm back and hopefully I can rejoin the community. > http://lwn.ne

Re: [Fish-users] moving forward, what needs to be done

2011-07-09 Thread i...@whywouldwe.com
An ascii art prompt would be very cool user@host:/dir/dir2 ><(*> user@host:/dir/dir2 ><~*> user@host:/dir/dir2 ><@*> On 09/07/2011 06:56, Philip Ganchev wrote: > I am not opposed to a new logo, though I don't consider it important. > There is no problem with someone having the trademark to the

Re: [Fish-users] moving forward, what needs to be done

2011-07-09 Thread i...@whywouldwe.com
Moving to github is the obvious thing to do in order to attract new developers. If this is the chosen path the account username should be something like 'fish-shell' and not contain any other projects so that it can easily be passed on to another person (at a later stage if necessary). On

Re: [Fish-users] new logo prototypes

2011-07-09 Thread i...@whywouldwe.com
The diagonal lines make this logo look like something's crossed out and has a negative feel to me. I'm sure there are plenty of logo design offers on fiverr.com (I don't mind paying). On 09/07/2011 04:39, Patrick Mc(avery wrote: > I was thinking it might be neat to > cross a fish with the ~

[Fish-users] scp remote tab completion

2011-07-06 Thread i...@whywouldwe.com
This is slightly related to the other thread currently being discussed 'fish and scp wildcards', but different enought to warrant its own thread. I recall about 8 months ago on this list someone said that zsh had remote tab completion when doing scp, eg scp some_host_from_ssh_config:~/

Re: [Fish-users] Fish Shell adoption / random comments

2011-07-06 Thread i...@whywouldwe.com
Hi All This was discussed on this list about 6 months ago or longer, that time I don't think anyone did get in contact with Axel's family. How can someone just walk away from>25K lines of terrific code? Exactly. I also fear something bad happened but we should know one way or the ot

Re: [Fish-users] fish and envdotpy

2011-04-25 Thread i...@whywouldwe.com
Here's my crude workon and deactivate fish scripts, to use them just save them in ~/.config/fish/functions as workon.fish and deactivate.fish. You'll need to set $WORKON_HOME (which I think you also have to do with the bash scripts). Let me know if the mailing list screws up the formatting a

Re: [Fish-users] OSX terminal set tab title

2011-01-12 Thread i...@whywouldwe.com
. The -e option to echo enables the backslashes for the escape codes you were using. That works identically in fish. So, again, this has nothing to do with standard out, or -e, but has to do with the fact that fish controls the terminal. -Dave On Thu, Jan 13, 2011 at 1:57 AM, i...@

Re: [Fish-users] OSX terminal set tab title

2011-01-12 Thread i...@whywouldwe.com
title echo "foo" end or, if you wanted to make it more dynamic, you could do something like this: function fish_title echo $my_title end Then just set $my_title in your script: set my_title Foo -Dave On Wed, Jan 12, 2011 at 2:14 AM, i...@whywouldwe.com <mailto:i...@whywould

[Fish-users] OSX terminal set tab title

2011-01-12 Thread i...@whywouldwe.com
Using bash this puts 'Foo' as the title of the current terminal tab in OS X echo -n -e "\033]0;Foo\007" but it doesn't work with fish ('-e \033]0;Foo\007' gets output instead), anyone know why or how to achieve this? Thanks --

Re: [Fish-users] auto-complete destination folder when scp-ing

2010-12-23 Thread i...@whywouldwe.com
Hi Gour That's not something that fish can do currently (at least not in the version that I'm using) but it would be a really useful feature to add. On 23/12/2010 21:46, Gour wrote: > Hello! > > Of the features which work in zsh and it seems is absent in fish is > when using scp, iow. zsh can

Re: [Fish-users] Fish sucks (but your shell sucks more)

2010-12-22 Thread i...@whywouldwe.com
Interesting article, I never liked bash syntax - found fish when looking for a better shell, it was the first one I tried so don't have any experience with csh or zsh. Is there a mirror of fishshell.org we can point anyone reading the comments to? On 23/12/2010 11:30, Terin Stock wrote: >

[Fish-users] http://fishshell.org/ down

2010-12-20 Thread i...@whywouldwe.com
Currently it's displaying 'It works' -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http:

[Fish-users] path problem - global vs universal

2010-12-15 Thread i...@whywouldwe.com
Sorry for the multiple posts, I do still have a path problem that I didn't have before. I want my path to be universal so I set it with `set -Ux ...`, but fish automatically uses the default global path it creates instead of the universal path I've added. With the global path in place I can

Re: [Fish-users] which not working

2010-12-15 Thread i...@whywouldwe.com
roblems but my machine seems to be doing odd things these days, maybe time to get a new one. On 16/12/2010 07:33, i...@whywouldwe.com wrote: > I don't have to type the /usr/bin/ in > front of it as it is in my path. > > > I also have another bigger problem, I > can&

Re: [Fish-users] which not working

2010-12-15 Thread i...@whywouldwe.com
ath. -Dave On Tue, Dec 14, 2010 at 7:57 PM, i...@whywouldwe.com <mailto:i...@whywouldwe.com> <mailto:i...@whywouldwe.com>> wrote: which isn't working for me in fish but it's fine in bash bash$ which -a which /usr/bin/which bash$ fish Welcome to

[Fish-users] which not working

2010-12-14 Thread i...@whywouldwe.com
which isn't working for me in fish but it's fine in bash bash$ which -a which /usr/bin/which bash$ fish Welcome to fish, the friendly interactive shell Type help for instructions on how to use fish fish$ /usr/bin/which -a which fish$ any ideas? ---

[Fish-users] PATH problem

2010-12-13 Thread i...@whywouldwe.com
I'm having real trouble setting my $PATH, I've set it using this as I want to set it with universal scope $ set -Ux /usr/bin /bin /usr/sbin /sbin /Users/peter/usr/bin /usr/local/bin /usr/X11/bin /usr/local/git/bin every time I open a new terminal tab I go through the same process

Re: [Fish-users] add to end of env variable array

2010-12-13 Thread i...@whywouldwe.com
Thanks, I did actually try that as well but it didn't work. It seems that I can't set my path properly for some reason, I'm reinstalling fish - hopefully that will fix whatever the problem is. On 13/12/2010 15:24, Philip Ganchev wrote: > On Mon, Dec 13, 2010 at 2:10 AM, i

[Fish-users] add to end of env variable array

2010-12-12 Thread i...@whywouldwe.com
Is there a way to add to the end of an environment variable that is an array without explicitly specifying the index? eg I can do set -Ux PATH[5] /some/path but that means I have to actually count how many elements the array currently has. set -Ux PATH[-1] /some/path will change t

Re: [Fish-users] Current state of fish in gitorius

2010-11-18 Thread i...@whywouldwe.com
I use fish daily and it seems complete to me, I'm curious about Grissom's comment regarding devs, what new features would people like to see? Is there a list somewhere? On 18/11/2010 21:47, Grissiom wrote: > I think a new release could > attract more eyes and thus bring more users/devs. -

Re: [Fish-users] Fish with no 'source' command?

2010-10-09 Thread i...@whywouldwe.com
On 10 October 2010 13:22, Italo Maia <mailto:italo.m...@gmail.com>> wrote: Ok, thanks. Big thanks grission =D! 2010/10/9 i...@whywouldwe.com <mailto:i...@whywouldwe.com> mailto:i...@whywouldwe.com>> The script uses bash and zsh syntax,

Re: [Fish-users] Fish with no 'source' command?

2010-10-09 Thread i...@whywouldwe.com
The script uses bash and zsh syntax, fish syntax is different so it won't work. On 10/10/2010 09:05, Italo Maia wrote: There you go, error message: http://dpaste.com/hold/255680/ 2010/10/9 Philip Ganchev > The command is ".' (dot) http://fishshell

Re: [Fish-users] Fish with no 'source' command?

2010-10-09 Thread i...@whywouldwe.com
Hi As I recall that script requires a POSIX shell (which fish is not). I use this very crude version of the virtualenvwrapper workon command function workon switch (count $argv) case 0 cd $WORKON_HOME ls -d1 */ | xargs basename cd -

Re: [Fish-users] crontab editor

2010-10-02 Thread i...@whywouldwe.com
Works, thanks. On 02/10/2010 14:04, Grissiom wrote: > On Sat, Oct 2, 2010 at 11:15 AM, i...@whywouldwe.com > wrote: >> I'm having difficulty changing a >> crontab editor to vim, I've tried both >> $EDITOR and $VISUAL as both /usr/bin/vim >> and ju

[Fish-users] crontab editor

2010-10-01 Thread i...@whywouldwe.com
I'm having difficulty changing a crontab editor to vim, I've tried both $EDITOR and $VISUAL as both /usr/bin/vim and just vim. I've also made a symlink /etc/alternatives/editor -> /usr/bin/vim In bash this changes the editor as I'd expect $ export EDITOR=/usr/bin/vim but in fish I sti

Re: [Fish-users] no funcsave command

2010-09-06 Thread i...@whywouldwe.com
tion_path On Mon, Sep 6, 2010 at 13:22, i...@whywouldwe.com <mailto:i...@whywouldwe.com> <mailto:i...@whywouldwe.com>> wrote: I installed fish on an Ubuntu 8.04 box via apt-get, it gave me fish 1.22.3. For some reason I don't have a funcsave

[Fish-users] no funcsave command

2010-09-06 Thread i...@whywouldwe.com
I installed fish on an Ubuntu 8.04 box via apt-get, it gave me fish 1.22.3. For some reason I don't have a funcsave command (but I do have function), apart from that everything else seems as normal. I've removing and reinstalling, any ideas to fix this? Thanks

Re: [Fish-users] decorating the current fish_prompt

2010-08-28 Thread i...@whywouldwe.com
As far as I recall if you create a new fish prompt function it goes in ~/.config/fish/functions/fish_prompt.fish, this will override the default one which is somewhere like /usr/share/fish/functions/fish_prompt.fish. I think the docs on functions covers this, make the file manually if you need

Re: [Fish-users] decorating the current fish_prompt

2010-08-27 Thread i...@whywouldwe.com
This is my fish prompt, hope it helps. function fish_prompt printf '%...@%s%s[%s]%s$ ' "$CURRENT_VIRTUALENV" (whoami) (hostname|cut -d . -f 1) (set_color $fish_color_cwd) (pwd) (set_color normal) Christopher Nilsson wrote: Hi all, I think I'm missing something obvious. I'm trying to

[Fish-users] How can I truncate a file?

2010-07-05 Thread i...@whywouldwe.com
Is there a way to truncate a file with fish? I've tried `> filename` and `: > filename` but neither works. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com

Re: [Fish-users] Fwd: delays in showing prompt

2010-05-05 Thread i...@whywouldwe.com
just now and they're all running at normal speed. I'll let you know if/when I see a delay again. Ben Hoskings wrote: On 6 May 2010 14:05, i...@whywouldwe.com <mailto:i...@whywouldwe.com> mailto:i...@whywouldwe.com>> wrote: I get that as well and find it very annoyin

Re: [Fish-users] delays in showing prompt

2010-05-05 Thread i...@whywouldwe.com
I get that as well and find it very annoying. I got it with the normal version so currently I'm using Ben Hoskins OS X version (http://github.com/benhoskings/fish), but I also happens for me with that (on OS X 10.6.3). No idea why it happens. Ronny Haryanto wrote: > Hi, it's me again. I have a

Re: [Fish-users] setting PATH

2010-05-05 Thread i...@whywouldwe.com
Hi Ronny There are 3 different variable contexts, local, global and universal. When setting a variable that already exists you don't need to specify the context as it will use the context for the existing variable. Although what you're doing seems correct I suspect you're creating an addition

Re: [Fish-users] bumping up against array length limitation for PATH

2010-04-18 Thread i...@whywouldwe.com
That's the unhelpful error message you get when a location currently in your path doesn't exist. Remove the problem entry and you should be ok. Brett Cannon wrote: I just decided to give fish a try and I immediately hit an issue where my PATH value is triggering an error. I tried using the com

[Fish-users] what's the fish equivalent of mkdir foo && cd foo

2010-04-11 Thread i...@whywouldwe.com
what's the fish equivalent of mkdir foo && cd foo? I can't find it in the docs -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applic

[Fish-users] seq cannot count backwards

2010-04-01 Thread i...@whywouldwe.com
I'm trying to use seq to count backwards from 10 down to 5 in increments of 1 (os x 10.6.3) $ seq 10 -1 5 fish: invalid option -- 1 Does anyone else get the same error? -- Download Intel® Parallel Studio Eval Try the n

Re: [Fish-users] Setting PATH?

2010-03-30 Thread i...@whywouldwe.com
path should be set with -U, not -g afaiw. David Frascone wrote: Ok . . I'm trying to take the plunge, and I'm running into some strangnesses that I can't explain. So, I did a chsh to change my login shell to fish. And, when I first log in, things work really strangely. type, whereis, and

[Fish-users] Multiline editing on a mac

2010-03-25 Thread i...@whywouldwe.com
To get a new line the docs say "Pressing Alt-enter instead of pressing the enter key". Macs don't have an alt key and I've tried all the combinations I can think of, does anyone know a way to get a new line other than \ and enter? Thanks ---

[Fish-users] vim fish script syntax file

2010-03-25 Thread i...@whywouldwe.com
Does anyone have a vim syntax file for fish scripts? -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel perform

[Fish-users] what should the value of $BROWSER be?

2010-03-24 Thread i...@whywouldwe.com
I've just compiled and installed fish on OS X 10.6 ~> help ls help: Could not find a web browser. Please set the variable $BROWSER to a suitable browser and try again What should I set the value of $BROWSER to? The docs say it should be set but don't give an example of a valid setting. I tried