You are not logged in.

#1 2010-03-08 20:47:51

JerichoKru
Member
From: East Coast US
Registered: 2009-02-19
Posts: 80
Website

[SOLVED]fish outputs messages when tab-completing folder paths.

Like the title says, this happens:

set: Could not add component /usr/bin/perlbin/site to PATH.
set: No such file or directory
set: Could not add component /usr/bin/perlbin/site to PATH.
set: No such file or directory

Though, it does complete correctly afterwords.  This doesn't seem to be a big problem, yet...mostly a nuisance.  How could I tell it to stop displaying this message?

Last edited by JerichoKru (2010-03-09 22:18:36)

Offline

#2 2010-03-08 20:54:22

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: [SOLVED]fish outputs messages when tab-completing folder paths.

Just remove that path from your /etc/profile.d/perlbin.sh file and the problem will disappear. Maybe you will have to logout and login again to apply the changes.

Last edited by ArchArael (2010-03-08 20:56:01)

Offline

#3 2010-03-08 22:49:15

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED]fish outputs messages when tab-completing folder paths.

Alternatively, in the event you will need those directories in the future, add this to your config.fish:

# fish does not allow setting nonexistant dir to PATH
# We'll set the PATH manually for now.
set -l myPATH $PATH
for i in $myPATH
        if test -d $i
                if not contains $i $newPATH
                        set newPATH $newPATH $i
                end
        end
end
set PATH $newPATH
set -e newPATH

aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2010-03-09 00:55:55

JohnVV
Member
From: Ann Arbor, Mi. U.S.A.
Registered: 2009-09-30
Posts: 107
Website

Re: [SOLVED]fish outputs messages when tab-completing folder paths.

i always liked

free the fish

Offline

#5 2010-03-09 22:18:01

JerichoKru
Member
From: East Coast US
Registered: 2009-02-19
Posts: 80
Website

Re: [SOLVED]fish outputs messages when tab-completing folder paths.

fsckd wrote:

Alternatively, in the event you will need those directories in the future, add this to your config.fish:

# fish does not allow setting nonexistant dir to PATH
# We'll set the PATH manually for now.
set -l myPATH $PATH
for i in $myPATH
        if test -d $i
                if not contains $i $newPATH
                        set newPATH $newPATH $i
                end
        end
end
set PATH $newPATH
set -e newPATH

I used this and it worked, thanks.

Offline

Board footer

Powered by FluxBB