Linuxbrew / legacy-linuxbrew

:skull: This repository is defunct, because it has been split into https://github.com/Linuxbrew/brew and https://github.com/Linuxbrew/homebrew-core
http://linuxbrew.sh
Other
2.23k stars 297 forks source link

z command not found after brew install #1083

Closed andrewrynhard closed 8 years ago

andrewrynhard commented 8 years ago
$ brew install z
==> Downloading https://github.com/rupa/z/archive/v1.9.tar.gz
Already downloaded: /home/vagrant/.cache/Homebrew/z-1.9.tar.gz
==> Caveats
For Bash or Zsh, put something like this in your $HOME/.bashrc or $HOME/.zshrc:
  . `brew --prefix`/etc/profile.d/z.sh

==> Summary
/home/vagrant/.linuxbrew/Cellar/z/1.9: 4 files, 19K, built in 1 second
$  z
fish: Unknown command 'z'
rwhogg commented 8 years ago

Can you try running the command . $(brew --prefix)/etc/profile.d/z.sh after installing z and then trying again? Thanks!

andrewrynhard commented 8 years ago

I did not. Thanks.