Coder Social home page Coder Social logo

Comments (7)

ghaiklor avatar ghaiklor commented on August 16, 2024

Hi @DanielSchreurs

iTerm2: Build 3.2.8
MacOS Mojave: 10.14.4
Fish Shell: 3.0.2

The issue is not reproducing from my side.

  1. Provide Fish Shell version fish --version;
  2. Have you modified any of fish configuration?
  3. Maybe an issue with some of fisher plugins, try to update fisher and its plugins by fisher self-update && fisher;

from iterm-fish-fisher-osx.

DanielSchreurs avatar DanielSchreurs commented on August 16, 2024

I'm on fish, version 3.0.2

I definitely think that there is a problem with math. How can I fix it ?

Output from fisher self-update && fisher

fisher self-update && fisher                   Mar  2 avr 11:55:34 2019
fetching https://raw.githubusercontent.com/jorgebucaran/fisher/master/fisher.fish
fisher is already up-to-date
To completely erase z's data, remove:
/Users/danielschreurs/.local/share/z/data
fetching https://codeload.github.com/igalic/anicode/tar.gz/master
fetching https://codeload.github.com/edc/bass/tar.gz/master
fetching https://codeload.github.com/oh-my-fish/plugin-battery/tar.gz/master
fetching https://codeload.github.com/oh-my-fish/theme-bobthefish/tar.gz/master
fetching https://codeload.github.com/laughedelic/brew-completions/tar.gz/master
fetching https://codeload.github.com/franciscolourenco/done/tar.gz/master
fetching https://codeload.github.com/Shadowigor/plugin-errno-grep/tar.gz/master
fetching https://codeload.github.com/gyakovlev/fish-fzy/tar.gz/master
fetching https://codeload.github.com/oh-my-fish/plugin-grc/tar.gz/master
fetching https://codeload.github.com/oh-my-fish/plugin-license/tar.gz/master
fetching https://codeload.github.com/oh-my-fish/plugin-node-binpath/tar.gz/master
fetching https://codeload.github.com/oh-my-fish/plugin-pj/tar.gz/master
fetching https://codeload.github.com/fisherman/shark/tar.gz/master
fetching https://codeload.github.com/Markcial/upto/tar.gz/master
fetching https://codeload.github.com/jethrokuan/z/tar.gz/master
linking ~/.config/fish/functions/anicode.fish
linking ~/.config/fish/functions/__bass.py
linking ~/.config/fish/functions/bass.fish
linking ~/.config/fish/functions/battery.fish
linking ~/.config/fish/functions/battery.info.update.darwin.fish
linking ~/.config/fish/functions/battery.info.update.fish
linking ~/.config/fish/functions/battery.info.update.linux.fish
linking ~/.config/fish/conf.d/plugin-battery_init.fish
math: Error: Too many arguments
'100,0 / 10'
    ^
linking ~/.config/fish/functions/__bobthefish_colors.fish
linking ~/.config/fish/functions/__bobthefish_display_colors.fish
linking ~/.config/fish/functions/__bobthefish_glyphs.fish
linking ~/.config/fish/functions/bobthefish_display_colors.fish
linking ~/.config/fish/functions/fish_greeting.fish
linking ~/.config/fish/functions/fish_mode_prompt.fish
linking ~/.config/fish/functions/fish_prompt.fish
linking ~/.config/fish/functions/fish_right_prompt.fish
linking ~/.config/fish/functions/fish_title.fish
linking ~/.config/fish/completions/brew.fish
linking ~/.config/fish/conf.d/done.fish
linking ~/.config/fish/functions/errno-grep.fish
linking ~/.config/fish/completions/errno-grep.fish
linking ~/.config/fish/functions/fkill.fish
linking ~/.config/fish/functions/fzy_select_directory.fish
linking ~/.config/fish/functions/fzy_select_history.fish
linking ~/.config/fish/conf.d/fish-fzy_key_bindings.fish
linking ~/.config/fish/functions/grc.wrap.fish
linking ~/.config/fish/conf.d/plugin-grc_init.fish
linking ~/.config/fish/functions/license.fish
linking ~/.config/fish/completions/license.fish
linking ~/.config/fish/conf.d/plugin-node-binpath_init.fish
linking ~/.config/fish/functions/pj.fish
linking ~/.config/fish/completions/pj.fish
linking ~/.config/fish/functions/spark.fish
linking ~/.config/fish/functions/upto.fish
linking ~/.config/fish/completions/upto.fish
linking ~/.config/fish/functions/__z.fish
linking ~/.config/fish/functions/__z_add.fish
linking ~/.config/fish/functions/__z_clean.fish
linking ~/.config/fish/functions/__z_complete.fish
linking ~/.config/fish/conf.d/z.fish
math: Error: Too many arguments
'100,0 / 10'
    ^
math: Error: Too many arguments
'100,0 / 10'
    ^
math: Error: Too many arguments
'100,0 / 10'
    ^
fetching https://codeload.github.com/fishpkg/fish-spin/tar.gz/master
math: Error: Too many arguments
'100,0 / 10'
    ^
fetching https://codeload.github.com/fishpkg/fish-get/tar.gz/master
math: Error: Too many arguments
'100,0 / 10'
    ^
fetching https://codeload.github.com/markcial/choices/tar.gz/master
fetching https://codeload.github.com/jorgebucaran/fish-getopts/tar.gz/master
fetching https://codeload.github.com/fishpkg/fish-humanize-duration/tar.gz/master
linking ~/.config/fish/functions/spin.fish
linking ~/.config/fish/completions/spin.fish
linking ~/.config/fish/functions/get.fish
linking ~/.config/fish/completions/get.fish
linking ~/.config/fish/functions/choices.fish
linking ~/.config/fish/functions/getopts.fish
linking ~/.config/fish/functions/humanize_duration.fish
math: Error: Too many arguments
'100,0 / 10'
    ^
fetching https://codeload.github.com/fisherman/getopts/tar.gz/master
linking ~/.config/fish/functions/getopts.fish
added 1 package, updated 20 packages, removed 1 package in 3,37s

from iterm-fish-fisher-osx.

ghaiklor avatar ghaiklor commented on August 16, 2024

It is a very strange error. I can not reproduce it on my side.

I'd rather make an assumption that something is wrong on your host machine. At the moment I do not know how can I help you.

from iterm-fish-fisher-osx.

ghaiklor avatar ghaiklor commented on August 16, 2024

I had a clean setup after MacOS reinstall and used the script. No issues were addressed with the error. So closing for now as "cannot reproduce it".

In case you have more additional information that could help me with that - feel free to re-open it.

from iterm-fish-fisher-osx.

behrtam avatar behrtam commented on August 16, 2024

I now have the same math: Error: Too many arguments problem on a fresh macOS 10.13.6 setup with:
fish version 3.0.2
fisher version 3.2.10

from iterm-fish-fisher-osx.

ghaiklor avatar ghaiklor commented on August 16, 2024

@behrtam

Assumption: the error originates from battery plugin - https://github.com/faho/pkg-battery/blob/master/battery.fish#L72 Can you uninstall the battery plugin via fisher and check if error still reproduces or not?

from iterm-fish-fisher-osx.

ghaiklor avatar ghaiklor commented on August 16, 2024

This issue became stale, closing

from iterm-fish-fisher-osx.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.