Re: [Fish-users] Slow git completions / debugging completions

2017-06-12 Thread David Frascone
I had very slow completions when using cygwin, but, on linux, things seem plenty fast. -Dave On Sun, Jun 11, 2017 at 1:28 PM, Andrew Schulman wrote: > > I've been using fish for about 6 months now after moving from zsh. > > > > Everything was going well, until recently git sub-command completio

Re: [Fish-users] Fish Themes

2016-09-02 Thread David Frascone
Sure . . . let me try to un-wind it from the rest of my crap and toss it up on github. On Fri, Sep 2, 2016 at 8:59 AM, charlie wrote: > Can you share it please :P ? > > On Fri, Sep 2, 2016 at 9:50 AM, David Frascone wrote: > >> I'm pretty happy with mine, with mercurial

Re: [Fish-users] Fish Themes

2016-09-02 Thread David Frascone
I'm pretty happy with mine, with mercurial/git branch integration, and error return values, plus a pretty fish! [image: Inline image 1] On Fri, Sep 2, 2016 at 8:42 AM, charlie wrote: > I saw a friends z-shell theme the other day and thought it was really > slick, https://cloud.githubusercontent

Re: [Fish-users] disown (bash,zsh) equivalent in fish

2015-07-14 Thread David Frascone
Cool trick! On Tue, Jul 14, 2015 at 9:40 AM, Johnny Bravo wrote: > Greg Reagle wrote: > > On Mon, Jul 13, 2015, at 03:55 PM, Johnny Bravo wrote: > >> As subject says, I want a equivalent to disown (detaches a process from > >> its parent) as found i bash > >> and zsh in fish. Is there such a thi

Re: [Fish-users] Need to start fishing again

2015-01-26 Thread David Frascone
How hard was it to build? Do you have destructions? I figure I might as well be using source for when/if I find issues :) -Dave On Mon, Jan 26, 2015 at 10:12 AM, Andrew Schulman wrote: > > (not sure if I have enough beer) > > > > I've moved some of my stuff from fish back to bash for several

[Fish-users] Need to start fishing again

2015-01-26 Thread David Frascone
(not sure if I have enough beer) I've moved some of my stuff from fish back to bash for several reasons. But, the biggest was probably going box to box and having inconsistent setups. However, I've stabilized my personal work flow a bit, and I want to start using (and committing) to it again. Do

[Fish-users] Anyone seen this?

2013-05-23 Thread David Frascone
Generally happens once, the first time I run a command, like ls. (BTW - this is cygwin) David Frascone@Bearodactyl ~ $ fish Welcome to fish, the friendly interactive shell Type help for instructions on how to use fish David Frascone@Bearodactyl ~> ls fish: Requested redirection to something t

Re: [Fish-users] Any chance for building/running Fish in Cygwin?

2013-05-22 Thread David Frascone
Make fails the first time -- just run make again. Something to do with basename and the man pages. I tested on a FULL install of cygwin. with EVERYTHING installed, except the stuff that errored out. On Wed, May 22, 2013 at 3:16 PM, Costin Caraivan wrote: > > Hello, > > > > Is there any chance

Re: [Fish-users] Any chance for building/running Fish in Cygwin?

2013-05-22 Thread David Frascone
Oops -- forgot to cc list. On Wed, May 22, 2013 at 2:40 PM, David Frascone wrote: > I used a bit more #ifdef logic . . . . > > Patch attached. > > > On Wed, May 22, 2013 at 1:35 PM, Stestagg wrote: > >> Reposting to the list: >> >> Hi >> >

Re: [Fish-users] Send in your prompts!

2012-08-27 Thread David Frascone
Here's mine -- mostly stock, but adds last command return code: function fish_prompt --description 'Write out the prompt' # Save our status set -l last_status $status set -l last_status_string "" if [ $last_status -ne 0 ] printf "%s(%d)%s " (set_color red --bold) $last_sta

Re: [Fish-users] Copying and pasting long commands

2012-08-23 Thread David Frascone
And, for those not running osx: codemonkey@monkeytree ~/W/MonkeyTools> alias pbcopy 'xsel --clipboard --input' codemonkey@monkeytree ~/W/MonkeyTools> alias pbpaste 'xsel --clipboard --output' -Dave On Thu, Aug 23, 2012 at 3:56 AM, Jon Clayden wrote: > Fair enough, but then why have the shell

Re: [Fish-users] Compilation on NetBSD

2012-08-17 Thread David Frascone
Except -- the fish version "fixes" init_tab . . . and now it will never be fixed. Was that side effect of the former version a requirement and/or optimization? -Dave On Fri, Aug 17, 2012 at 10:17 AM, David Frascone wrote: > Looks good. > > > On Fri, Aug 17, 2012 at 9:

Re: [Fish-users] Compilation on NetBSD

2012-08-17 Thread David Frascone
Looks good. On Fri, Aug 17, 2012 at 9:56 AM, Moritz Wilhelmy wrote: > Hello, > > During my work on the pkgsrc package of fish, I noticed the following > problem: NetBSD has it's own curses implementation in which > init_tabs evaluates to a macro expansion which is const. > > I therefore propose

Re: [Fish-users] Running git-svn subcommands in a subshell doesn't work

2012-08-12 Thread David Frascone
Maybe git is asking for input? Try giving it an eof or something: echo (yes | git svn find-rev HEAD) -Dave On Sat, Aug 11, 2012 at 3:26 PM, Kevin Ballard wrote: > Well this is interesting. I just noticed that after running `echo (git svn > find-rev HEAD)` it actually leaves a stopped job behi

Re: [Fish-users] Can't figure out how to update my shell

2012-08-01 Thread David Frascone
Just installing on top worked for me. (No un-install, just install again) -Dave On Tue, Jul 31, 2012 at 12:54 PM, Ceasar Bautista wrote: > I downloaded my shell (using the Mac installer) just before the patch to > the prompt disappearing on multi-line commands (Issue #239) and it's > becoming a

Re: [Fish-users] bzr completion (and other vcs?)

2012-06-21 Thread David Frascone
I'd love to see some mercurial toys, like the git and bzr ones I've seen . . . maybe I'll hack something together if I find some time. On Thu, Jun 21, 2012 at 6:16 PM, Dario Bertini wrote: > Hi, I recently started to use fishfish... I'm a bzr user (but > obviously also an hg and git one) and I r

Re: [Fish-users] newline in prompt

2012-06-13 Thread David Frascone
When I type funced fish_prompt, and press the up arrow, my fish exits. If I use the left arrow, and scroll a lot, this works. Strangely enough, this does *not* happen if I run a new fish (i.e. $ fish) then do the funced. Maybe login shells can't edit the prompt? -Dave On Wed, Jun 13, 2012 at 1

Re: [Fish-users] default shell?

2012-06-12 Thread David Frascone
On Tue, Jun 12, 2012 at 7:23 AM, Gour wrote: > On Tue, 12 Jun 2012 07:08:26 -0600 > David Frascone wrote: > > > I've used it as my default shell for a couple of years now. The only > > issues I've seen are with globing (PEBKAC), and the old fish had some >

Re: [Fish-users] default shell?

2012-06-12 Thread David Frascone
I've used it as my default shell for a couple of years now. The only issues I've seen are with globing (PEBKAC), and the old fish had some terminal / history weirdnesses. -Dave On Tue, Jun 12, 2012 at 1:57 AM, SanskritFritz wrote: > > On Tue, Jun 12, 2012 at 8:45 AM, Gour wrote: > >> Now I won

Re: [Fish-users] fish_fish

2012-05-30 Thread David Frascone
Yeah, all my functions work fine. I agree ".." is broken, but, since I've never used that, it didn't matter to me :) cd .. works just fine. -Dave On Wed, May 30, 2012 at 9:02 AM, Peter Flood wrote: > I created a .. function in ~/.config/fish/functions (I already have ..., > etc) and it w

Re: [Fish-users] Announcing Open Beta for our fancy new fish fork

2012-05-30 Thread David Frascone
I built from source and did ./configure --prefix=/usr to avoid conflict with my old fish in /usr/local. On Wed, May 30, 2012 at 9:14 AM, Peter Flood wrote: > For anyone who hasn't yet, run `fish_config` on a system with a web > browser. Nice. > > The osx installer seems to have wiped out my pre

Re: [Fish-users] Announcing Open Beta for our fancy new fish fork

2012-05-30 Thread David Frascone
Found the hotkey -- right arrow :) -Dave On Wed, May 30, 2012 at 8:45 AM, David Frascone wrote: > The autosuggestions take a bit to get used to . . . they're kind of > distracting. BUT: They do guess correctly a lot -- which is nice. > > The only thing I don't like so

Re: [Fish-users] Announcing Open Beta for our fancy new fish fork

2012-05-30 Thread David Frascone
The autosuggestions take a bit to get used to . . . they're kind of distracting. BUT: They do guess correctly a lot -- which is nice. The only thing I don't like so far is when it guesses almost right, the tab acts funny. For example: If you are in a directory with five entries: 1234 1235 123

Re: [Fish-users] Announcing Open Beta for our fancy new fish fork

2012-05-30 Thread David Frascone
Seems VERY VERY fast. Command line completion is very clean (so far), and simply screams. Testing now on linux -- will test on OS X soon. -Dave On Wed, May 30, 2012 at 7:01 AM, Patrick wrote: > Hi Again > > So I have it installed and I am giving it a go. I like it quite a lot > and think it wo

Re: [Fish-users] .* expansion

2012-05-09 Thread David Frascone
Ahhh .. . didn't realize that. I just assumed it worked. :( -Dave On Wed, May 9, 2012 at 6:17 AM, Maxim Gonchar wrote: > Dave, do you want to say that your fish can expand character classes? > Like [a-zA-Z]? > Mine can not (: > > On Tue, 08 May 2012 22:07:56 +0400, Dav

Re: [Fish-users] .* expansion

2012-05-08 Thread David Frascone
That looks good. I usually just do .[a-zA-Z]* :) On Fri, May 4, 2012 at 2:41 AM, Maxim Gonchar wrote: > Hi fishers, > > I've noticed that it is very uncomfortable to use wild cards to work with > 'hidden' files and folders, because when expanded it always produces '.' > and '..' directories, w

Re: [Fish-users] fish on raspberry pi

2012-02-06 Thread David Frascone
If fish works on other big endian platforms, then it should work find on ARM. Has anyone tried fish on PPC, etc? -Dave On Sun, Feb 5, 2012 at 9:12 AM, Peter Flood wrote: > When I get my hands on a Raspberry Pi I will, of course, want to install > fish in an Ubuntu environment. Can anyone fores

Re: [Fish-users] errors when doing cd -

2012-02-03 Thread David Frascone
ng OS X, do you know which changeset you're using? > > Thx > Peter > > > > > On 03/02/2012 22:12, David Frascone wrote: > > I fixed this bug a while back. > > Be sure and pull from one of the repos. Seq was broken on mac. > > -Dave > > On Fri, Fe

Re: [Fish-users] errors when doing cd -

2012-02-03 Thread David Frascone
I fixed this bug a while back. Be sure and pull from one of the repos. Seq was broken on mac. -Dave On Fri, Feb 3, 2012 at 7:11 AM, Peter Flood wrote: > $ seq 0 > 1 > 0 > > > > On 03/02/2012 19:02, Jan Kanis wrote: > > I can't reproduce this on linux. > The 'prevd' function gets called from

Re: [Fish-users] fishshell.org

2011-10-20 Thread David Frascone
I vote squatters! On Thu, Oct 20, 2011 at 1:26 AM, SanskritFritz wrote: > > On Thu, Oct 20, 2011 at 9:02 AM, Martin Bähr < > mba...@email.archlab.tuwien.ac.at> wrote: > >> of course the domain is of no use unless someone can fix the dns, but do >> we want to let it expire and risk it getting pick

Re: [Fish-users] "disown" command in fish

2011-07-26 Thread David Frascone
Disown seems like an implementation of nohup. Try just using the nohup command: nohup firefox & (Then exit the shell) -Dave On Tue, Jul 26, 2011 at 1:04 AM, Philipp Middendorf wrote: > I don't know what that is supposed to do, but on my machine, it opens > the program (in the foreground) an

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

2011-07-13 Thread David Frascone
I don't see a fish there. I see a comic strip's attempt at profanity. Maybe reversed with the fish head pointing toward the prompt?: ><~(*> -Dave On Wed, Jul 13, 2011 at 8:36 AM, Myrddin Emrys wrote: > The problem with that logo, nice as it is, is that the > should be on the > right (as the

Re: [Fish-users] Strange behavior, maybe?

2011-07-12 Thread David Frascone
omething saying that the auto-reload only works when the file > > contains one function that matches the file name. I didn't reply > > before because I didn't have the reference to double-check this. > > > > Steve > > > > On Mon, Jul 11, 2011 at 6:2

Re: [Fish-users] Strange behavior, maybe?

2011-07-12 Thread David Frascone
Nothing on this? Guess I can start browsing the source . . . On Mon, Jul 11, 2011 at 11:29 AM, David Frascone wrote: > > So, I have several related functions that I've been storing in > ~/.config/fish/functions: > > CreateCase.fish > ArchiveCase.fish > HostifyC

[Fish-users] Strange behavior, maybe?

2011-07-11 Thread David Frascone
So, I have several related functions that I've been storing in ~/.config/fish/functions: CreateCase.fish ArchiveCase.fish HostifyCase.fish Which contain functions CreateCase, ArchiveCase, and HostifyCase, respectively. And, I thought it would be much simpler to combine all three functions into o

Re: [Fish-users] moving forward, what needs to be done (was: Axel (Was: Fish Shell adoption)

2011-07-11 Thread David Frascone
I'd be happy to add it to my hosting account. Costs me almost nothing (like $.82/month, for new shared domains) -Dave On Mon, Jul 11, 2011 at 12:56 AM, Terin Stock wrote: > I paid anynomously last year, which is why it hasn't gone to squatters yet. > > Gandi also allows putting another person

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

2011-07-09 Thread David Frascone
I think we should push a release. And, possibly, bump the version to a milestone of some kind to indicate the new "ownership" There have been several minor nits fixed. I need to document and/or fix a few more that I've noticed, where fish gets confused and spews text at me instead of completing

Re: [Fish-users] moving forward, what needs to be done (was: Axel (Was: Fish Shell adoption)

2011-07-08 Thread David Frascone
On Fri, Jul 8, 2011 at 7:43 AM, Patrick Mc(avery < patr...@spellingbeewinnars.org> wrote: > > 4)There is some development being done on github but the site does not > currently point there > Please correct false statements... > > I believe the current repositories are on gitorious. -Dave -

Re: [Fish-users] fish and scp wildcards

2011-07-06 Thread David Frascone
zsh does the same thing. The only difference is, zsh has a noglob command. So, in zsh, it would work like this: $ scp remote_host:*.c . zsh: Unable to find *.c (or some other paraphrased error message) $ noglob scp remote_host:*.c . a.c . . . b.c . . . etc. I like the way bash handles it, but

[Fish-users] Strange completion error

2011-04-01 Thread David Frascone
This just happened to me, so, I reproduced it a few times, on a couple of different OS's for your enjoyment. First, start up screen: $ screen Once you get a prompt, make a directory like this: $ mkdir MC\ TEST Yes, that's MC test. Then, try to cd to it with autocomplete: dfrascone@daves-mbp[

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-07 Thread David Frascone
Same here -- works for me. And, iirc, it has always worked correctly for me. :) Try the current version(s). -Dave On Mon, Mar 7, 2011 at 9:25 AM, Myrddin Emrys wrote: > I have to say that this has not been my experience. I am not using the > latest fish however; I'm using the default version

Re: [Fish-users] Stupid PID question

2011-02-25 Thread David Frascone
. i.e.: > >ProxyCommand ssh nc -w 1 %h 22 > > Thanks > > Steve > > > On Thu, Feb 24, 2011 at 6:33 PM, David Frascone wrote: > > > > > > On Thu, Feb 24, 2011 at 10:40 AM, Jan Kanis wrote: > >> > >> > >> On Thu, F

Re: [Fish-users] Stupid PID question

2011-02-24 Thread David Frascone
On Thu, Feb 24, 2011 at 10:40 AM, Jan Kanis wrote: > > > On Thu, Feb 24, 2011 at 05:41, Martin Bähr < > mba...@email.archlab.tuwien.ac.at> wrote: > >> On Thu, Feb 24, 2011 at 01:58:06AM +0100, Jan Kanis wrote: >> > - A command like 'fish -c "echo %self; exec ssh user@somewhere"' will >> start >>

[Fish-users] Stupid PID question

2011-02-23 Thread David Frascone
My office just started doing DMZ nonsense, so I have to bounce through an intermediary host to grab a file, sort of like this: ssh -f -N -q -L :dmz_machine_ip:22 user@intermediary_machine_ip scp -P transformers.avi user@localhost:. So, my question is: How can I grab the PID of that fir

Re: [Fish-users] [ fish-Bugs-3115560 ] last history element missing after su

2011-01-28 Thread David Frascone
I have not been able to reproduce in osx. I'll try on linux later. -Dave On Fri, Jan 28, 2011 at 2:46 AM, Martin Bähr < mba...@email.archlab.tuwien.ac.at> wrote: > On Fri, Jan 28, 2011 at 10:21:21AM +0100, SanskritFritz wrote: > > Using sudo doesnt bring me to a root shell, so I dont think this

Re: [Fish-users] [ fish-Bugs-3115560 ] last history element missing after su

2011-01-27 Thread David Frascone
t;> When I get a chance (hopefully next few days...), I'll see if I can grab a >> copy of Arch, and try and match your env more closely. >> >> Has anyone else had "better" luck seeing this? >> > > David Frascone reported having the same problem: &qu

[Fish-users] Strange problem with scp

2011-01-26 Thread David Frascone
I remember having issues like this a long time ago, but I thought I had fixed them. Sadly, I forgot what the fix was. Suddenly, scp and rsync have stopped working for me: dfrascone@daves-mbp ~/Downloads> scp com.backup42.desktop.jar codemon...@somehost.net: TERM environment variable not set. TER

Re: [Fish-users] source code repos

2011-01-17 Thread David Frascone
On Mon, Jan 17, 2011 at 12:08 PM, Laird Shaw wrote: > On 18/01/11 03:26, Jan Kanis wrote: > > > And > > how many messages does the list receive for moderation? > > I'd guesstimate at between 10 and 20 per day, over 99% of which are spam. > Oops -- guess I should have been helping to moderate :)

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

2011-01-12 Thread David Frascone
tle of my terminal tab, not output to stdout. I think > the problem is that fish doesn't interpret the -e option the same way bash > does. > > Thanks > > > > On 12/01/2011 21:50, David Frascone wrote: > > From http://fishshell.com/user_doc/index.html > >

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

2011-01-12 Thread David Frascone
>From http://fishshell.com/user_doc/index.html function fish_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

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

2010-12-21 Thread David Frascone
Hosting company seems down. You get "It Works" from http://www.vireo.net/too. -Dave On Tue, Dec 21, 2010 at 2:08 AM, SanskritFritz wrote: > > > On Tue, Dec 21, 2010 at 9:30 AM, Martin Jernberg wrote: > >> same here >> >> -- >> >> Same from here. >> >> On Tue, Dec 21

Re: [Fish-users] which not working

2010-12-15 Thread David Frascone
Why do you have to type /usr/bin/which? Is /usr/bin not in your path? If not, then that would describe your behavior. It works fine for me -- but -- /usr/bin IS in my path. -Dave On Tue, Dec 14, 2010 at 7:57 PM, i...@whywouldwe.com wrote: > which isn't working for me in fish but > it's fine i

Re: [Fish-users] More robust help function version 1.04

2010-12-06 Thread David Frascone
> > > However, I think you are trying to do too much in one patch. Make small > changes so we can get something committed rather than trying to rewrite > everything in one patch and risk having everything get rejected. > > I disagree completely with this statement. James has been working with all

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

2010-11-23 Thread David Frascone
I'd like to see $? function the same as $status -- perhaps with a warning . . . or, maybe, not function, but give a warning. I've not written too many fish scripts. So, I'd like to see bash/sh/korn/csh syntax errors give help for noob fish shell programmers. -Dave On Tue, Nov 23, 2010 at 6:28

Re: [Fish-users] [PATCH] exec: Don't format status returned directly from builtin function.

2010-11-23 Thread David Frascone
nice catch On Mon, Nov 22, 2010 at 10:15 AM, Dylan Smith wrote: > The builtin function returns the raw status, which is not the same as the > integer return by waitpid. Therefore, the WIF macros shouldn't be used for > checking or obtaining the status. > > This bug can be seen by executing (eval

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

2010-11-17 Thread David Frascone
On Wed, Nov 17, 2010 at 6:46 AM, SanskritFritz wrote: > Hi > I'm a big fan of fish, and plan to create an Archlinux package from the > gitorius head. > My question is, is the current head of the gitorius repo considered stable > enough for everyday use? Thought I ask before I install it on my linu

Re: [Fish-users] Merge Request

2010-11-05 Thread David Frascone
Done -- there's a new merge request that can be line-item-veto'ed :) -Dave On Fri, Nov 5, 2010 at 9:02 AM, David Frascone wrote: > I'll re-evaluate the larger one, and split it into smaller chunks, if I > think the issues are still there. > > -Dave > > &

Re: [Fish-users] Merge Request

2010-11-05 Thread David Frascone
I'll re-evaluate the larger one, and split it into smaller chunks, if I think the issues are still there. -Dave On Fri, Nov 5, 2010 at 8:54 AM, Grissiom wrote: > Hi David, > > On Fri, Nov 5, 2010 at 9:06 PM, David Frascone wrote: > > > > I'm not sure of th

[Fish-users] Merge Request

2010-11-05 Thread David Frascone
I'm not sure of the "right" way to do it -- but I requested a merge on gitorious that will incorporate the changes I've made over the last year via github. Let me know if you need more comments / etc. -Dave -- The Next 8

Re: [Fish-users] Anyone building on OS/x?

2010-11-04 Thread David Frascone
ure how that maps to OSX. > Hopefully someone else will know. > > Come to think of it though, I think I did trip over some iconv errors like > this, until I installed ncurses + doxygen. One of those must have pulled > down the libc6-dev dependency for me. Have you got those install

[Fish-users] Anyone building on OS/x?

2010-11-03 Thread David Frascone
I've been building from Ben Hoskings repo over on github, but, I wanted to grab the current stuff, so I went over and cloned from gitorious. That repo doesn't seem to build for me -- configure can't seem to find iconv. Ideas? checking for library containing gettext... (cached) -lintl checking f

Re: [Fish-users] wiki access (was: source code repos)

2010-10-13 Thread David Frascone
I'd be happy to host the domain with my hosting account. Let me know :) -Dave On Wed, Oct 13, 2010 at 12:58 AM, Martin Bähr < mba...@email.archlab.tuwien.ac.at> wrote: > On Fri, Oct 08, 2010 at 04:12:28PM +0200, Jan Kanis wrote: > > As far as I'm aware the original owner of fish (Axel Liljencr

Re: [Fish-users] fishshell.org expired?

2010-09-23 Thread David Frascone
Oops -- my bad :) On Thu, Sep 23, 2010 at 10:14 AM, Jan Kanis wrote: > Ah, I can connect now. There's a typo in Davids mail: 174.133.147.138 -> > 174.133.174.138 > > Jan > -- Nokia and AT&T present the 2010 Calling All I

Re: [Fish-users] fishshell.org expired?

2010-09-23 Thread David Frascone
page loads just fine. So -- DNS is broken at the moment, and it looks like a caching thing. But, the web page is fine. -Dave P.S. I have no idea if the domain is going bye bye, though. On Thu, Sep 23, 2010 at 9:40 AM, Christopher Nilsson < christop...@otherchirps.net> wrote: > > &g

Re: [Fish-users] fishshell.org expired?

2010-09-23 Thread David Frascone
Since it's only 2010, I'm pretty sure it shows that the domain is fine for another year. On Wed, Sep 22, 2010 at 8:17 PM, Christopher Nilsson < christop...@otherchirps.net> wrote: > Is anyone else having trouble accessing fishshell.org? > > A whois shows: > > Domain Name:FISHSHELL.ORG > Created O

Re: [Fish-users] Globbage?

2010-06-09 Thread David Frascone
On Sat, Jun 5, 2010 at 1:51 PM, Beni Cherniavsky-Paskin wrote: > > a slight problem with this is that if the user expects a match, but the > > match fails because of a typo, then it will be quoted, but since the > > user didn't want quotes he or she has to go back to remove the quote and > > corre

[Fish-users] This probably isn't a fish problem . . but . .

2010-04-17 Thread David Frascone
I have a path add function that displays a warning if it tried to add a path that does not exist. But, that warning causes rsync to fail, when doing rsync over ssh, because it can't parse the warning. Is there any simple way for me to tell, in my config.fish, that it is a non-interactive terminal

Re: [Fish-users] official GitHub repository (was: How to contribute patches?)

2010-04-09 Thread David Frascone
The only repos I've used are on github . . . can they fork back and forth with gitorius? I know my branch is off of Ben's. -Dave On Fri, Apr 9, 2010 at 5:28 PM, Suraj Kurapati wrote: > On Thu, Apr 8, 2010 at 3:01 PM, Suraj Kurapati wrote: > > On Thu, Apr 8, 2010 at 2:51 PM, Isaac Dupree > >

[Fish-users] How to contribute patches?

2010-04-08 Thread David Frascone
I've been e-mailing them here -- is that the preferred method? I'm not a darcs-head, so I don't know if I should be doing something different darcs wise :) -Dave -- Download Intel® Parallel Studio Eval Try the new softwar

[Fish-users] Fixed a little crash

2010-04-08 Thread David Frascone
fish> set -x TERM # Kaboom -- constant crashes This patch fixes: codemon...@daves-mbp ~/W/fish> git diff diff --git a/src/reader.c b/src/reader.c index d0da730..522b702 100644 --- a/src/reader.c +++ b/src/reader.c @@ -624,7 +624,7 @@ void reader_write_title() don't. Since we can't see

[Fish-users] Globbage?

2010-04-06 Thread David Frascone
Am I the only one who likes filename globbing, ONLY when it works? One of my biggest annoyances with zsh was the default mode of globbing everything. And, zsh almost has me trained to glob properly with fish . . . almost. But, in zsh, there IS a way to turn it off -- is there in fish? For exampl

Re: [Fish-users] help in OSX

2010-04-04 Thread David Frascone
That's two seperate problems: 1) not properly quoting the URL so that the hash is interpreted as a comment 2) bad installation confused about the location of the help files. -Dave Sent from my iPhone On Apr 4, 2010, at 5:05 PM, Philip Ganchev wrote: > The problem is more general. For exa

Re: [Fish-users] seq cannot count backwards

2010-04-03 Thread David Frascone
Seq was installed by fish, and has the bug unless you've grabbed my tree or applied my patches. -Dave Sent from my iPhone On Apr 3, 2010, at 8:04 PM, Rick Cogley wrote: On my OS X 10.6.3, doing a ‘which' it shows there’s a seq and a gseq. /opt/local/bin/seq /opt/local/bin/gseq r...@rcm

Re: [Fish-users] seq cannot count backwards

2010-04-03 Thread David Frascone
A -- I just looked, and there is a /usr/bin/gseq, which does the same thing. So, it does exist, it's just named differently :) -Dave On Sat, Apr 3, 2010 at 3:17 PM, Isaac Dupree wrote: > On 04/03/10 10:10, David Frascone wrote: > >> I'm not sure I understand your

Re: [Fish-users] seq cannot count backwards

2010-04-03 Thread David Frascone
I'm not sure I understand your point. Are you saying that seq should have been implemented with bash instead of fish? Or bash instead of bc? Or that we shouldn't use fish at all, but use bash instead? I know in the man pages of zsh they say that zsh is a command prompt and strictly differe

Re: [Fish-users] Uniquely add to path?

2010-04-02 Thread David Frascone
I like the third function . . .. but I'd do a -d $x, since it should be a directory :) -Dave On Fri, Apr 2, 2010 at 7:15 PM, Philip Ganchev wrote: > On Thu, Apr 1, 2010 at 9:46 AM, David Frascone wrote: > > > > There's a really cool feature in zsh that allows you to

Re: [Fish-users] Temporary functions?

2010-04-02 Thread David Frascone
On Fri, Apr 2, 2010 at 6:07 PM, Philip Ganchev wrote: > On Thu, Apr 1, 2010 at 10:08 AM, David Frascone wrote: > > > > I'd like to add a function to my config.fish to do some things over and > over > [...] > > But, I don't want this function to exist afte

Re: [Fish-users] Fixing title setting in OS X

2010-04-02 Thread David Frascone
On Fri, Apr 2, 2010 at 2:17 PM, Isaac Dupree wrote: > On 04/02/10 13:34, David Frascone wrote: > >> So, given the ttys difference -- think we should go with an env setting, >> or >> a quick fix that works for Darwin? >> > > just use the appropriate check f

Re: [Fish-users] Fixing title setting in OS X

2010-04-02 Thread David Frascone
On Fri, Apr 2, 2010 at 1:23 PM, Isaac Dupree wrote: > > as you wish... I think conditional compilation for accessing Linux vs. > Darwin /dev/ filenames makes a ton of sense. (Or use a C if() and a > system-call that tells you which system it is, if you wish, if such a thing > exists... it's conve

Re: [Fish-users] Fixing title setting in OS X

2010-04-02 Thread David Frascone
ding more "special" environment variables either, but I like it better than conditional compilation. Thoughts? -Dave On Fri, Apr 2, 2010 at 2:18 AM, Isaac Dupree wrote: > On 04/02/10 01:03, David Frascone wrote: > >> I'm not sure why it was limiting terminals with

Re: [Fish-users] seq cannot count backwards

2010-04-02 Thread David Frascone
ish script that has > to accept options or negative numbers. > Will fix that too. (fixing now) -- done. You can do a git pull now. -Dave > > > Michael > > > On 2 Apr 2010, at 15:53, David Frascone wrote: > > What OS are you using? Also, Ben has not pulled my chang

Re: [Fish-users] seq cannot count backwards

2010-04-02 Thread David Frascone
1, '/usr/local/bin/fish' terminated by signal SIGBUS > (Misaligned address error) > > ? > > On 2 Apr 2010, at 13:03, David Frascone wrote: > > > Right. I was in the same boat. Use my patch and the fish installed > > seq will work for you. > > > > -Dave &

Re: [Fish-users] seq cannot count backwards

2010-04-02 Thread David Frascone
Seq does not exist on OS X, it seems. Personally I've never used it. The patch only fixes the version installed by fish, so, should have no side effects at all! -Dave Sent from my iPhone On Apr 2, 2010, at 2:09 AM, Isaac Dupree wrote: > On 04/02/10 01:31, David Frascone wrote:

Re: [Fish-users] seq cannot count backwards

2010-04-02 Thread David Frascone
; So, when the script is invoked, fish is called, with the arguments (10 > -1 5), and it generates the error. > > I think when fish is invoked for a script, it shouldn't parse the > arguments that are meant for the script... > > Michael > > > On 2 Apr 2010, at 8:09,

Re: [Fish-users] seq cannot count backwards

2010-04-01 Thread David Frascone
Slightly modified to use step as the direction -- it's more right this way: http://github.com/CodeMonk/fish/commit/2788e8f0b29e067e9d97293b6884c18bde153ea1 On Fri, Apr 2, 2010 at 1:31 AM, David Frascone wrote: > Found and fixed. There were several issues. First, most people who ty

Re: [Fish-users] seq cannot count backwards

2010-04-01 Thread David Frascone
ithub.com/CodeMonk/fish/commit/535858658e81e38f5b5556cb5a64275c32e22322 -Dave On Fri, Apr 2, 2010 at 1:18 AM, David Frascone wrote: > I can get repeatable failed behavior . . but I can't seem to figure out > where it's evaluating that option . . . it's very strange. > > co

Re: [Fish-users] seq cannot count backwards

2010-04-01 Thread David Frascone
I can get repeatable failed behavior . . but I can't seem to figure out where it's evaluating that option . . . it's very strange. codemon...@daves-mbp ~/W/fish> fish -c 'seq 10 -1 5' fish: invalid option -- 1 codemon...@daves-mbp ~/W/fish> fish -c 'seq -- 10 -1 5' open: No such file or directory

[Fish-users] Fixing title setting in OS X

2010-04-01 Thread David Frascone
I'm not sure why it was limiting terminals with tty in the name -- that seems REALLY restrictive to me. This diff fixes things for OS X, but I'm sure I've broken something else. Any ideas? Maybe an environment variable override? Maybe if FISH_FORCE_TITLE is set? -- diff --git a/src/read

Re: [Fish-users] pasteboard/clipboard in OSX

2010-04-01 Thread David Frascone
quot; Enjoy! -Dave On Thu, Apr 1, 2010 at 9:21 PM, David Frascone wrote: > > > On Thu, Apr 1, 2010 at 7:40 PM, Michael Lachmann wrote: > >> >> That is strange. I'm using the regular terminal, too. On OS/X 10.5.8 >> As far as I understand, if kill-line is ca

Re: [Fish-users] pasteboard/clipboard in OSX

2010-04-01 Thread David Frascone
On Thu, Apr 1, 2010 at 7:40 PM, Michael Lachmann wrote: > > That is strange. I'm using the regular terminal, too. On OS/X 10.5.8 > As far as I understand, if kill-line is called, then kill_add() has to > be called, too. Could it be because fish is my login shell? > If what you say is right, i.e. t

Re: [Fish-users] pasteboard/clipboard in OSX

2010-04-01 Thread David Frascone
010, at 21:18, David Frascone wrote: > > > I'm not sure this would work as expected -- at least not in the > > normal terminal windows. It seems like ctrl-k is being processed by > > the terminal or os itself, not by fish. > > i.e. kill_add is *not* being called when I

[Fish-users] Very cool stuff in functions

2010-04-01 Thread David Frascone
Ok -- I have to say, the behavior of ~/.config/fish/functions just rocks. I have this as my function for ls . . . and it overwrites itself after the first call to a simpler function: # # Sorted ls (by size) # # Set the proper ls based on the OS set OS (uname) switch $OS case Linux fun

Re: [Fish-users] pasteboard/clipboard in OSX

2010-04-01 Thread David Frascone
I'm not sure this would work as expected -- at least not in the normal terminal windows. It seems like ctrl-k is being processed by the terminal or os itself, not by fish. i.e. kill_add is *not* being called when I press ctrl-k. -Dave On Wed, Mar 31, 2010 at 4:28 AM, michael wrote: > Hi, > >

[Fish-users] Temporary functions?

2010-04-01 Thread David Frascone
I'd like to add a function to my config.fish to do some things over and over . . . basically, to set my path: function add_to_path --description 'If the directories exist, add them to the path' for arg in $argv if [ -d "$arg" ] # Eventually do this uniquely . . .and, allow

Re: [Fish-users] Does anyone use fish as their #1 shell (OS/X)?

2010-04-01 Thread David Frascone
works very > well for me, I don't have any problems. > > But fish seems to have issues on BSD and on non-x86 non-32bit > architectures > > On Tue, Mar 30, 2010 at 03:14:56PM -0400, David Frascone wrote: > > I had to quit using fish, due to constant script incompatibil

[Fish-users] Uniquely add to path?

2010-04-01 Thread David Frascone
There's a really cool feature in zsh that allows you to uniquely add a string to the path, if it did not exist before: typeset -U path This makes all items in path have to be unique, so then, if you do: path=(/foo/bin $path) path=(/foot/bin $path) You will NOT have two /foo/bin(s) in your path.

Re: [Fish-users] Setting PATH?

2010-03-30 Thread David Frascone
e 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 stran

Re: [Fish-users] Setting PATH?

2010-03-30 Thread David Frascone
On Tue, Mar 30, 2010 at 11:28 PM, Ben Hoskings wrote: > 2010/3/31 David Frascone > > >> And, my path is set completely differently. Ok -- so -- that could just >> be some weird login -vs- interactive shell setting. I get that. But, >> here's the really stran

[Fish-users] Setting PATH?

2010-03-30 Thread David Frascone
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 a few other scripts do not function properly. BUT -- if I then exec, o

Re: [Fish-users] Does anyone use fish as their #1 shell (OS/X)?

2010-03-30 Thread David Frascone
I want it to do :) -Dave On Tue, Mar 30, 2010 at 4:24 PM, David Frascone wrote: > Oh -- and just to confirm that my system isn't fuxx0red: > > codemon...@daves-mbp ~> zsh > 1003:codemon...@daves-mbp ~ % type port > port is /opt/local/bin/port > 1004:codemon...@daves-mbp ~

  1   2   >