oh-my-fish / theme-jacaetevha

MIT License
1 stars 3 forks source link

Just tried to install your theme, and I got an error each time. #2

Open jdsjdk opened 3 years ago

jdsjdk commented 3 years ago

Hello,

I just tried to install your theme on a remote debian server. Here is my system info: PRETTY_NAME="Debian GNU/Linux 10 (buster)" Kernel: 4.19.0-16-cloud-amd64 fish version: 3.2.1 omf version: 7

Stderr:

fish: Unknown command: bc
~/.local/share/omf/themes/jacaetevha/functions/fish_prompt.fish (line 1):
echo -e "scale=3 \n$tBytes/1048 \nquit" | bc
                                          ^
in command substitution
    called on line 6 of file ~/.local/share/omf/themes/jacaetevha/functions/fish_prompt.fish
in function 'tbytes'
    called on line 1 of file ~/.local/share/omf/themes/jacaetevha/functions/fish_prompt.fish
in command substitution
    called on line 29 of file ~/.local/share/omf/themes/jacaetevha/functions/fish_prompt.fish
in function 'fish_prompt'
in command substitution
~/.local/share/omf/themes/jacaetevha/functions/fish_prompt.fish (line 6): Unknown error while evaluating command substitution
    set -g total (echo -e "scale=3 \n$tBytes/1048 \nquit" | bc)
                 ^
in function 'tbytes'
    called on line 1 of file ~/.local/share/omf/themes/jacaetevha/functions/fish_prompt.fish
in command substitution
    called on line 29 of file ~/.local/share/omf/themes/jacaetevha/functions/fish_prompt.fish
in function 'fish_prompt'
in command substitution

Please take a look and get back to me, thanks.

jdsjdk commented 3 years ago

Oh! I almost forgot to tell you, I installed and uninstalled about 2-3 times to make sure the error was consistent, and it was.

scorphus commented 3 years ago

For some reason your installation of Debian does not include bc. Please install it and try again:

sudo apt install bc