Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands finish but with errors #64

Closed
KadenGordon opened this issue Feb 14, 2018 · 5 comments
Closed

Commands finish but with errors #64

KadenGordon opened this issue Feb 14, 2018 · 5 comments

Comments

@KadenGordon
Copy link

KadenGordon commented Feb 14, 2018

I am running the newest versions of fish, omf, etc. This example is with the command clear

Note: This only happens on this theme

Details:

No command 'string' found, did you mean:
Command 'spring' from package 'spring' (universe)
Command 'spring' from package 'ruby-spring' (universe)
Command 'strings' from package 'binutils' (main)
Command 'strings' from package 'binutils-multiarch' (main)
string: command not found
/.local/share/omf/themes/pure/__parse_current_folder.fish (line 1): string replace $HOME '' $PWD
^
in function “__parse_current_folder”
called on line 3 of file ~/.local/share/omf/themes/pure/fish_title.fish

in command substitution
called on line 1 of file ~/.local/share/omf/themes/pure/fish_title.fish

in function “fish_title”
called on standard input
with parameter list “clear”

in command substitution
called on standard input

No command 'string' found, did you mean:
Command 'strings' from package 'binutils-multiarch' (main)
Command 'strings' from package 'binutils' (main)
Command 'spring' from package 'spring' (universe)
Command 'spring' from package 'ruby-spring' (universe)
string: command not found
/.local/share/omf/themes/pure/__parse_current_folder.fish (line 1): string replace $HOME '' $PWD
^
in function “__parse_current_folder”
called on line 44 of file ~/.config/fish/functions/fish_prompt.fish

in command substitution
called on line 42 of file ~/.config/fish/functions/fish_prompt.fish

in function “pre_prompt”
called on standard input

in event handler: handler for generic event “fish_prompt”

No command 'string' found, did you mean:
Command 'strings' from package 'binutils' (main)
Command 'strings' from package 'binutils-multiarch' (main)
Command 'spring' from package 'spring' (universe)
Command 'spring' from package 'ruby-spring' (universe)
string: command not found
~/.local/share/omf/themes/pure/fish_title.fish (line 1): string replace -r '^.*/' '' -- $PWD
^
in command substitution
called on line 1 of file ~/.local/share/omf/themes/pure/fish_title.fish

in function “fish_title”
called on standard input

in command substitution
called on standard input

No command 'string' found, did you mean:
Command 'spring' from package 'ruby-spring' (universe)
Command 'spring' from package 'spring' (universe)
Command 'strings' from package 'binutils' (main)
Command 'strings' from package 'binutils-multiarch' (main)
string: command not found
/.local/share/omf/themes/pure/__parse_current_folder.fish (line 1): string replace $HOME '' $PWD
^
in function “__parse_current_folder”
called on line 3 of file ~/.local/share/omf/themes/pure/fish_title.fish

in command substitution
called on line 1 of file ~/.local/share/omf/themes/pure/fish_title.fish

in function “fish_title”
called on standard input

in command substitution
called on standard input
@edouard-lopez
Copy link
Member

Can you provide version for fish, omf, OS and echo $SHELL

Also formatting your question properly would help.

@KadenGordon
Copy link
Author

Fish version 2.2.0, omf version 6, Linux Mint 18.3 (note: i think this is it, just installed in my rpi and it works beautifully), echo $SHELL produced /usr/bin/fish

@KadenGordon
Copy link
Author

I also have a USB flash of Mint and it occurs there too. It seems to be the OS. I have had similar problems in Mint based on permissions of files, so I did chmod 7777 ~/ and it didn't work. I also searched for anything related to omf elsewhere and did chmod on that too. It didn't work

@KadenGordon
Copy link
Author

Hope this info is helpful. I really want to be able to use pure

@edouard-lopez
Copy link
Member

Your fish version is too old, string was introduced in fish 2.3.0 here is my setup:

❯ fish --version 
fish, version 2.7.1
❯ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 18.3 Sylvia
Release:        18.3
Codename:       sylvia

There is an official PPA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants