0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

bobthefishのエラー

Last updated at Posted at 2020-01-27

fishのversionを2.7から3.0.2にあげたら

math: Error: Expression is bogus
'scale=1;13705/1000'
     ^

というerrorが何度もでる.
googleと,fishのmath functionがbuild inに変わって
記述が変更された模様.
bobthefish/fish_right_prompt.fishを手で直してみたが,
math: 'scale=1;137343/60000' is not a valid scale value
とか出ます.

omfでinstallし直したのですが,

omf install bobthefish 
Updating https://github.com/oh-my-fish/packages-main master... Done!
Error: bobthefish already installed.

これは間違い.

> omf remove bobthefish
bobthefish successfully removed.
> omf install bobthefish    

ちょっと治ったけどダメ.で,よく調べるとfisherで
bobthefishを入れていたみたい.
なんで,

omf destroy

fisher update bobthefish

で無事エラー吐かなくなりました.

ついでにfisherのupdate

> fisher up
OK You are running fisherman 3.2.10
See github.com/fisherman/fisherman/releases
Updating 2 plugins
! Skipped bobthefish
! Skipped z
Done in 1s 964ms
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?