[Fish-users] Google+ community

2013-05-06 Thread dag.odenh...@gmail.com
Hello fellow fishermen and women I created a g+ community for fish because why not. Feel free to join or not. Feel free to ask for moderator status, especially if you're a core developer! Feel free to suggest missing post categories. If you join, do post! I hope the use of the logo from the b

Re: [Fish-users] Fish user documentation

2013-05-07 Thread dag.odenh...@gmail.com
Hi, I think the sources for these docs are in here: https://github.com/fish-shell/fish-shell/tree/master/doc_src If you don't know git you can just edit the files on the web. The first one seems to be here: https://github.com/fish-shell/fish-shell/blob/master/doc_src/index.hdr.in#L165 The seco

Re: [Fish-users] aliasing pushd

2013-05-21 Thread dag.odenh...@gmail.com
Because alias creates a function and pushd calls cd as a command which includes functions. But you don't really need to do this in fish because it already has a directory history that cd updates, and you can navigate it with prevd/nextd or Alt-left/right arrows. On Tue, May 21, 2013 at 2:47 PM, J

Re: [Fish-users] aliasing pushd

2013-05-22 Thread dag.odenh...@gmail.com
Torsten: `command` runs programs, and `command cd` won't change the cwd in fish. You'd need `builtin cd` to get the fish builtin, side-stepping the cd function. But see below. Robert: You may be using `builtin cd`, which doesn't log directory history. What does `type cd` say? On Tue, May 21, 201

Re: [Fish-users] aliasing pushd

2013-05-22 Thread dag.odenh...@gmail.com
new cwd is $PWD end On Wed, May 22, 2013 at 4:01 PM, Robert Carpenter wrote: > On Wed, May 22, 2013 at 1:55 AM, dag.odenh...@gmail.com < > dag.odenh...@gmail.com> wrote: > >> Torsten: `command` runs programs, and `command cd` won't change the cwd >> in fish. Yo

Re: [Fish-users] aliasing pushd

2013-05-22 Thread dag.odenh...@gmail.com
d, May 22, 2013 at 11:40 AM, dag.odenh...@gmail.com < > dag.odenh...@gmail.com> wrote: > >> That there *is* calling `builtin cd`! I suggest removing it (presumably >> you have that in ~/.config/fish/functions/cd.fish or something like that) >> so the one that sh

Re: [Fish-users] config.fish: writing to a file

2013-05-23 Thread dag.odenh...@gmail.com
`export` is `set -x` in fish. Without quotes you get a list which when exported is joined with a colon; useful for $PATH but not $EDITOR: $ set -x EDITOR 'sublime -w' $PATH is a list in fish and when you use a list as an unquoted part of an argument you get a cartesian product, similar to brace

Re: [Fish-users] Anyone seen this?

2013-05-23 Thread dag.odenh...@gmail.com
It seems you have a dircolors program that produces different output from mine, so I'd guess that cygwin's dircolors is different from the one on Linux and OS X, where fish has had more testing. The ls function tries to evaluate dircolors -c when $LS_COLORS isn't already set, which outputs a csh s

Re: [Fish-users] Executing ksh script from the fish shell ?

2013-05-23 Thread dag.odenh...@gmail.com
This ./script.sh is different from . ./script.sh The latter is simply . script.sh which is to say "evaluate this file in the shell". It shouldn't do what you want in the other shells either, although they may be more compatible making you think it worked. If you want to run a script (as opp

Re: [Fish-users] Refreshing ~/.config/fish/config.fish

2013-05-25 Thread dag.odenh...@gmail.com
. ~/.config/fish/config.fish On Sat, May 25, 2013 at 3:23 PM, Sergiusz Kierat wrote: > Hi. > > I would like to know how to refresh fishshell after changing my > configuration. > > What's fish's equivalent to *source .bashrc *? > * > * > S. > > > --

Re: [Fish-users] SELinux errors logging in from a virtual terminal

2013-05-26 Thread dag.odenh...@gmail.com
I had this too but then I just installed to /usr/local and it worked fine. On Sun, May 26, 2013 at 2:36 PM, Tim Cuthbertson wrote: > Not really a question - more of an info piece for those who > switch to fish as default shell and run into the same problem: > > I switched to fish as my login sh

Re: [Fish-users] understanding variables in Fish functions

2013-05-26 Thread dag.odenh...@gmail.com
See issue #565 for a discussion about this. https://github.com/fish-shell/fish-shell/issues/565 On Sun, May 26, 2013 at 3:23 PM, Harm Aarts wrote: > Hi, > > I've noticed that variables in Fish function seem to be 'declared': > > function sheep > set -l feet > if test 1 -eq 1 > set feet

Re: [Fish-users] fish transalation of the "!!" ?

2013-05-28 Thread dag.odenh...@gmail.com
function h; echo $history[1]; end now you can do sudo (h) On Tue, May 28, 2013 at 7:06 PM, Yvon Thoraval wrote: > fine thanks it's $history[1] : > > $ cat ~/.config/fish/config.fish > if status --is-interactive > blahblahblah > end > > $ echo $history[1] > cat ~/.config/fish/config.fish > > $

Re: [Fish-users] Fish License

2013-05-29 Thread dag.odenh...@gmail.com
Me too, but do we actually need to ask every contributor? I'm not sure how the GPL works but it seems the copyright is assigned exclusively to Axel, so perhaps he has the final and only say in the matter. Of course discussing it is always good but it might be impractical to contact every contribu

Re: [Fish-users] Gnu Screen changes fish colors

2013-06-02 Thread dag.odenh...@gmail.com
Quite likely screen isn't advertising 256 color capabilities. Try adding this to your ~/.screenrc: term "screen-256color" On Sun, Jun 2, 2013 at 3:34 AM, Billy Matthews wrote: > Hi Luciano, > > See this section of the docs > http://fishshell.com/docs/2.0/commands.html#fish_config > > You shoul

Re: [Fish-users] Working on a new terminal emulator

2013-06-16 Thread dag.odenh...@gmail.com
This looks interesting. I was wondering if perhaps you should consider collaborating with the Final Term[1] project instead, but then they use Vala and GTK/Clutter and you use Qt/QML, so perhaps having two projects is warranted. Anyway I'm not sure fish_title is quite what you want, and neither w