oh-my-fish / theme-es

Fish shell theme
MIT License
13 stars 16 forks source link

Bunch of errors #4

Closed Epiju closed 8 years ago

Epiju commented 8 years ago

Fish 2.2.0 version:

⋊> ~/.c/f/functions omf install es                                                                                                                                                                  18:57:07
Installing theme es
✔ theme es successfully installed.
fish: Unknown command 'string'
~/.local/share/omf/themes/es/fish_prompt.fish (line 1): string replace b o $argv[2] 2>/dev/null
                                                        ^
in command substitution
    called on line 98 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function '_col'
    called on line 10 of file ~/.local/share/omf/themes/es/fish_prompt.fish
    with parameter list 'brblue o u'

in command substitution
    called on line 8 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function 'fish_prompt'
    called on standard input

in command substitution
    called on standard input

set_color: Unknown color 'brblue'
fish: Unknown command 'string'
~/.local/share/omf/themes/es/fish_prompt.fish (line 1): string replace -r '^'"$realhome"'($|/)' '~$1' $PWD
                                                        ^
in command substitution
    called on line 110 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function 'prompt_pwd2'
    called on line 10 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in command substitution
    called on line 8 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function 'fish_prompt'
    called on standard input

in command substitution
    called on standard input

usage: dirname path
usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]
usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]
fish: Unknown command 'string'
~/.local/share/omf/themes/es/fish_prompt.fish (line 1): string replace "./~" "~" $_tmp2
                                                        ^
in command substitution
    called on line 110 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in command substitution
    called on line 110 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function 'prompt_pwd2'
    called on line 10 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in command substitution
    called on line 8 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function 'fish_prompt'
    called on standard input

in command substitution
    called on standard input

fish: Unknown command 'string'
~/.local/share/omf/themes/es/fish_prompt.fish (line 1): string trim -l -c=/ (string replace "./~" "~" $_tmp2)
                                                        ^
in command substitution
    called on line 110 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function 'prompt_pwd2'
    called on line 10 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in command substitution
    called on line 8 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function 'fish_prompt'
    called on standard input

in command substitution
    called on standard input

fish: Unknown command 'string'
~/.local/share/omf/themes/es/fish_prompt.fish (line 1): string replace b o $argv[2] 2>/dev/null
                                                        ^
in command substitution
    called on line 98 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function '_col'
    called on line 10 of file ~/.local/share/omf/themes/es/fish_prompt.fish
    with parameter list 'green b'

in command substitution
    called on line 8 of file ~/.local/share/omf/themes/es/fish_prompt.fish

in function 'fish_prompt'
    called on standard input

in command substitution
    called on standard input

fish: Unknown command 'string'
~/.local/share/omf/themes/es/fish_title.fish (line 7):   string replace -r '^'"$realhome"'($|/)' '~$1' $PWD
                                                         ^
in function 'fish_title'
    called on standard input

in command substitution
    called on standard input
eugenesvk commented 8 years ago

First requirement in the theme description

Latest fish version with a builtin string function (above 2.2.0, so please get the latest version from HEAD)

Please upgrade your fish