Skip to content

Changing workspace breaks fish shell #40

Open
@karlek

Description

When changing from one workspace to another in fish, the prompt updating fails. It's worth noting that I've have a function in my fish config also called fish_prompt:

https://github.com/karlek/dotfiles/blob/master/.config/fish/conf.d/08-prompt.fish

(gateway) (^._.^)ノ elysium @ /home/_/.local/share/go/src/github.com/karlek/tf/gateway $ ../keysmith/
Deactivating gateway
functions: Function “fish_prompt” already exists. Cannot create copy “_old_fish_prompt”
- (line 109): 
        functions -c _old_fish_prompt fish_prompt
        ^
in function “_vg_deactivate”
	called on line 46 of file -

in function “_vg_activate”
	called on line 13 of file -
	with parameter list “activate keysmith”

in function “vg”
	called on line 189 of file -
	with parameter list “activate keysmith”

in function “__vg_auto_activate”
	called on line 5 of file /usr/share/fish/functions/cd.fish
	with parameter list “VARIABLE SET PWD”

in event handler: handler for variable “PWD”


       functionsfunctions - print or erase functions
        -

   Synopsis
       functions [ -a | --all ] [ -n | --names ]
       functions [ -D | --details ] [ -v ] FUNCTION
       functions -c OLDNAME NEWNAME
       functions -d DESCRIPTION FUNCTION
       functions [ -e | -q ] FUNCTIONS...

functions: Type “help functions” for related documentation

Activating keysmith
(keysmith) _@elysium ~/.l/s/g/s/g/k/t/keysmith>

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions