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

fish: Uknown command 'omf' #104

Closed
davidnknight opened this issue Oct 5, 2015 · 10 comments
Closed

fish: Uknown command 'omf' #104

davidnknight opened this issue Oct 5, 2015 · 10 comments

Comments

@davidnknight
Copy link

Hi,

I've done a clean install of Fish using Brew, then using the installer and both times I get fish: Uknown command 'omf':

Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
David@Davids-MacBook-Pro ~> omf
fish: Unknown command 'omf'
David@Davids-MacBook-Pro ~> fish -v
fish, version 2.2.0
David@Davids-MacBook-Pro ~>
@davidnknight
Copy link
Author

FYI: Just installed using the command line curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish omf help and now works fine.

@bpinto
Copy link
Member

bpinto commented Oct 5, 2015

Could you show us the output of the installation?

It's likely that the installation did work but you needed to open a new shell for omf to load properly.

@davidnknight
Copy link
Author

I don't have the output anymore but I had opened countless new shells and even restarted the machine but to no avail, so that certainly wasn't the issue.

@derekstavis
Copy link
Member

The line should be

curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish

@davidnknight
Copy link
Author

The above curl line that I used was copied from the read me. Either way, the curl method worked, it was the brew and installer methods that left me with an incomplete installation.

@bpinto
Copy link
Member

bpinto commented Oct 5, 2015

I'm a little lost here, I don't know what happened nor which command you ran... So I don't even know if we have to do changes to the README page.

If you could share more information, that would be helpful. Thanks!

@bpinto bpinto closed this as completed Oct 6, 2015
@tamoyal
Copy link

tamoyal commented Nov 28, 2016

For example:

$ brew install fish
==> Downloading https://homebrew.bintray.com/bottles/fish-2.4.0.sierra.bottle.tar.gz
Already downloaded: /Users/tamoyal/Library/Caches/Homebrew/fish-2.4.0.sierra.bottle.tar.gz
==> Pouring fish-2.4.0.sierra.bottle.tar.gz
==> Using the sandbox
==> Caveats
You will need to add:
  /usr/local/bin/fish
to /etc/shells.

Then run:
  chsh -s /usr/local/bin/fish
to make fish your default shell.
==> Summary
🍺  /usr/local/Cellar/fish/2.4.0: 837 files, 6.2M
$ fish --version
fish, version 2.4.0
$ omf
-bash: omf: command not found

Opening a new shell doesn't help. I'm on OSX 10.12.1

@oranja
Copy link
Contributor

oranja commented Nov 28, 2016

Ah ha! This explains everything.

Oh-My-Fish is not bundled with the fish shell. Not in brew, nor anywhere else.
Oh-My-Fish is a package manager, written in fish, for fish, and we here like it the most, but it's not the only one. There are other such package managers, and each fish user is free to choose a package manager for him/herself, if any at all.

To use OMF, you'll need to install it first. See: https://github.com/oh-my-fish/oh-my-fish#installation

@tamoyal
Copy link

tamoyal commented Nov 28, 2016

Yep that's the deal. I was thinking the installer took care of everything but the pipe makes it clear

@adibpwd
Copy link

adibpwd commented Feb 12, 2021

The line should be

curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish

thanks brow

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

6 participants