Welp, there it is. I feel silly. It is working now. I had just assumed
that function was the fish builtin. I see that the fish version is much
more elaborate.
Thanks, Dag!
On Wed, May 22, 2013 at 11:40 AM, dag.odenh...@gmail.com <
dag.odenh...@gmail.com> wrote:
> That there *is* calling `bu
Happy to help!
On Wed, May 22, 2013 at 7:53 PM, Robert Carpenter wrote:
> Welp, there it is. I feel silly. It is working now. I had just assumed
> that function was the fish builtin. I see that the fish version is much
> more elaborate.
>
> Thanks, Dag!
>
>
> On Wed, May 22, 2013 at 11:40 AM
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 ships with fish is used instead, and then use a variable
listener function instead of a cwd event:
function on_new_cwd -v PWD
echo
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. You'd need `builtin cd` to get the fish builtin, side-stepping the cd
> function. But see below.
>
> Robert: You may be usin
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
I've been meaning to look into this for months now, but haven't gotten
around to it.
I'm either totally misunderstanding the directory history or mine is broken:
rob ~> dirh
/Users/rob
rob ~> ./Desktop
rob ~/Desktop> dirh
/Users/rob/Desktop
rob ~/Desktop>
The only thing I can think of that might
On 21 May 2013, at 14:47, John Chludzinski wrote (with possible deletions):
> When using ksh or bash I typically alias cd to pushd. When I do that in my
> config.fish file I get an infinite recursion of cd calling pushd calling cd
> calling pushd calling ...
You may find 'command' helpful in such
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
When using ksh or bash I typically alias cd to pushd. When I do that in my
config.fish file I get an infinite recursion of cd calling pushd calling cd
calling pushd calling ...
Why?
---John
--
Try New Relic Now & We'll S