You are not logged in.
Pages: 1
Yesterday, I installed the fish shell.
It was working fine until I booted into my system today to find a large
[I]before my prompt
my fish config:
[I] /home/pyxel > cat .config/fish/config.fish
function fish_prompt
echo (pwd) "> "
endFish version:
[I] /home/pyxel > fish -v
fish, version 2.3.1I haven't install anything like oh-my-fish.
It happens with all of the terminal emulators I have used.
Any help would be appreciated.
Mod note: removed large image. Please see the CoC regarding acceptable image sizes -- WorMzy
Last edited by LonelyPyxel (2016-11-12 22:27:09)
Offline
Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code
Do you get this in other shells, or just fish?
Offline
Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code
Do you get this in other shells, or just fish?
This only happens in fish. I tested bash, zsh, and sh, and they all looked fine.
Offline
Look through the initialisation files: http://fishshell.com/docs/current/index … ialization
If that fails, use `fish_config` to reset the prompt and see if that fixes it.
Offline
tested whether "echo (pwd)" produces that in fish? What about just "pwd"? "echo (echo foo)"?
Offline
Sorry for the late response.
tested whether "echo (pwd)" produces that in fish? What about just "pwd"? "echo (echo foo)"?
[I] /home/pyxel > echo (pwd)
/home/pyxel
[I] /home/pyxel > pwd
/home/pyxel
[I] /home/pyxel > echo (echo foo)
fooLook through the initialisation files: http://fishshell.com/docs/current/index … ialization
If that fails, use `fish_config` to reset the prompt and see if that fixes it.
My initialisation files seem to be fine..
https://ghostbin.com/paste/n7t5p
https://ghostbin.com/paste/nkusc
Resetting my prompt with fish_shell did not fix the issue.
On another note the output of fish_prompt is
[I] /home/pyxel > fish_prompt
/home/pyxel > Offline
Try running it without all that complexity: either start from scratch or remove half the file and see if the behaviour is present, if it is, bisect again...
Offline
Try running it without all that complexity: either start from scratch or remove half the file and see if the behaviour is present, if it is, bisect again...
Those are the stock fish initialisation files. I haven't edited them.
Reinstalling fish also has not fixed this issue.
Edit 2: changing my prompt doesn't help
[I] /home/pyxel > function fish_prompt
echo ">"
end
[I] > Last edited by LonelyPyxel (2016-11-18 01:24:29)
Offline
anything interesting in ~/.config/fish/fishd.`hostname` ?
Offline
#LonleyPyxel
Have you tried running "fish_config" from an open fish terminal and choosing a prompt from the samples given when the web browser opens the page. Then setting it from the webpage.
This has worked for me.
Last edited by NoSavvy (2016-11-19 14:50:41)
Offline
Pages: 1