David Frascone | 26 Jan 15:59 2015

Need to start fishing again

(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.

Does anyone know if it currently works under cygwin?

-Dave
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
Rickard von Essen | 24 Jan 15:40 2015
Picon

Using subshells to expand arguments

Hi,

How do I do the following in fish:
docker $(./machine config prl) ps

where $(./machine config prl) returns a set of arguments to docker.

I remember this have been asked before but I couldn't find any solution.

// Rickard 
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
J Birch | 1 Jan 23:42 2015
Picon

Fish/vi issue

I have installed fish and am experiencing an annoying little warning I cannot get rid of, and it should be simple.

When I try to edit an file in vi, I get the following:

err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)

Is there a certain env variable I should set?  I have tried a few to no avail.

Thank you!
Birch


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
Peter van den Hurk | 20 Dec 14:21 2014
Picon

Fishd losing universal variables

Dear list,

I recently switched my default user login shell on my arch linux system over to fish 2.1.1 and I really like
it. However, when rebooting the computer, all of my universal variables are gone. Things like the
fish_user_paths are reset to empty. I checked the .config/fish/fishd.ID file and saw that this file is
restored to a default state when I reboot my computer. This default state consists of the welcome message
and colors. This is the same as what I set via the configuration interface (non-default). Variables are
also carried over when logging out and logging back in.

I have no idea how to troubleshoot this problem, so is there anyone who can point me in the right direction?

Thank you in advance,
Peter van den Hurk

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Samantha Michelle Smith | 19 Dec 03:45 2014

fish: instead of prompt

Hey guys. This is my first post to this list, so if y'all have some extra etiquette I'm not aware of, my apologies.
I'm using FreeBSD 10.1 on a server, having just upgraded from 10.0. Fish is my preferred shell for my normal user.
For some reason, when fish is automatically launched upon login, or manually by any other user, the user is presented with text that reads "fish:"
Any input given is shown on the screen but not acted upon.
This does not occur for any other shell, either in base or installed from ports.
I was wondering if anyone else has ever experienced this, and if so, what their solution was. I'm currently troubleshooting it, so if I figure out what's going on, I'll definitely post a followup email.

-----------------------------------------------------------------------
Samantha Michelle Smith
FreeBSD Systems and Network Administrator
ISZ Audio and Technology Services
PGP key: 0x390D6788
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
Andrei Zvonimir Crnković | 18 Dec 08:58 2014
Picon

Stickers

Wouldn't be cool if we had stickers like the guys over at oh-my-zsh do?


A.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
ide94 . | 3 Dec 20:00 2014
Picon

Syntax highlighting color

Fish seems to default to a darker, blueish font color that is extremely hard to read against my current background. Is there a way to swap the preset to another one, e.g. vim's "set background=dark/light" option?
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
Steve Petrie, P.Eng. | 27 Nov 15:24 2014
Picon

fish shell 2.1.1 on DragonFlyBSD 3.8.2 -- fish command line seems broken (connect via PuTTY ssh, start fish shell from tcsh shell command line);

Trying to get fish 2.1.1 shell working (via PuTTY ssh terminal) on DragonFlyBSD 3.8.2 running on a QEMU-KVM virtual machine provided by Elastic Hosts (EH)  www.elastichosts.com.
 
DragonFlyBSD 3.8.2 installed with no trouble on the EH VM and seems to be running very well.
 
The DragonFlyBSD login displays the following version string:
DragonFly v3.8.2-RELEASE (X86_64_GENERIC) #18: Thu Aug 14 19:42:15 PDT 2014
* * *
* * *
 
The pkgng installation of fish 2.1.1 shell seemed to work fine.
 
However, when I try to start a fish shell from a tcsh command prompt, it looks like the fish shell might be starting -- the string "fish:" is displayed) -- but from then on it doesn't seem to respond correctly to any keyboard command input on the ssh terminal. It just goes to the next line when I type "exit" and press the <Enter> key, or press <Ctrl+c>:
[root-yoJPmSRkH/ZQDBqtKFVzYw@public.gmane.org] /usr/local/bin (106)# fish
fish:
 
^C
^C
exit
^Z
quit
exit
The only way I can find to break out of this fish shell dead end (I'm not smart enough yet with the  tcsh shell to create multiple sessions) is to shutdown and start the DragonFlyBSD VM from the Elastic Hosts cloud control panel.
 
* * *
* * *
 
These links:
Describe a problem with fish shell on FreeBSD & OpenBSD, similar to what I am experiencing on DragonFlyBSD.
 
Here are snippets from the first of these pages:
  • ... fish is waiting on fishd, and fishd is waiting for fish, so we deadlock. Mysterious. One bright point is that this won't happen on ToT because fishd is gone ... ToT? Is that some future release lingo? ... Sorry, it means Top of Tree. Current trunk. ...
Apparently the deadlock problem will disappear with a future release of fish. And there's no patch for the problem in the current version of fish (2.1.1), because the fix is a planned radical architectural change -- namely the elimination of fishd.
 
* * *
* * *
 
My questions to the fish developer team are:
  • 1. Is there a predicted / estimated release date for the fish version that will fix this deadlock problem?
     
  • 2. If that release date is going to be more than a month in the future, is there any way I could create a patch / workaround to fix this problem in fish 2.1.1?
I really REALLY REALLY REALLY want to use fish shell under DragonFlyBSD for a new website project.
 
Steve
 
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
Peter Kerpedjiev | 24 Nov 23:57 2014
Picon

command wrapping

Dear Mailing List,

Is there a way for me to write some handler that will pass every command 
as a string argument to another script?

For example, if I have the following command that I'm about to run:

prompt> ls -a > out.txt

What I'd like to do is write an event handler that takes the command 
entered at the prompt (ls -a > out.txt) and passes it as a parameter to 
some other script:

my_script 'ls -a > out.txt'

Is this in any way possible with fish?

All the best,

-Peter

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Dan Anderson | 18 Nov 23:45 2014
Picon

Subcommand quoting?

Attemping to run pkg-config as part of a build:

```
g++ (pkg-config --cflags --libs gtk+-2.0) test.cpp
g++: error: unrecognized command line option ‘-pthread 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pixman-1 -I/usr/include/libdrm 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 
-I/usr/include/libpng16 -I/usr/include/harfbuzz -lgtk-x11-2.0 
-lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 
-lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 
-lfontconfig -lfreetype ’
```

Expected behaviour is to expand the output of `(pkg-config)` and pass 
those flags to `g++`, but it seems that the subcommand output is being 
quoted. Works under bash (with backticks).

Any way to dequote?

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users
Ryan Burnett | 18 Nov 19:56 2014
Picon

eval command in config.fish

Hi fish fanatics,

I'm using rbenv. Using the regular ol' Terminal I have to add this to my .bash_profile:

eval "$(rbenv init -)"

I've added the equivalent command to my ~/.config/fish/config.fish file:

rbenv init - | source

This worked in fish 2.1, however, I'm running 2.1.1 now and receive this error:

/Users/burnettr/.config/fish/config.fish (line 18): rbenv init - | source
                                                    ^
in . (source) call of file '/Users/burnettr/.config/fish/config.fish',
called on standard input,

How can I add this rbenv init command to my config.fish file?

P.S. I'm running fish 2.1.1 and OS X 10.9.4.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users

Gmane