Comments (14)
➜ ~ brew upgrade goto
==> Upgrading 1 outdated package:
goto 1.2.3 -> 2.0.0
==> Upgrading goto
==> Downloading https://github.com/iridakos/goto/archive/v2.0.0.tar.gz
==> Downloading from https://codeload.github.com/iridakos/goto/tar.gz/v2.0.0
######################################################################## 100.0%
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/goto/2.0.0: 6 files, 20.8KB, built in 10 seconds
Removing: /usr/local/Cellar/goto/1.2.3... (6 files, 18.9KB)
Removing: /Users/-/Library/Caches/Homebrew/goto--1.2.3.tar.gz... (667KB)
==> Checking for dependents of upgraded formulae...
==> No dependents found!
➜ ~
but still:
➜ ~ goto
zsh: command not found: goto
➜ ~
from goto.
This solved it for me:
add this to your ~./zshrc file and source it or start a new terminal session
autoload bashcompinit
bashcompinit
source /usr/local/etc/bash_completion.d/goto.sh
goto <tab>
showed all my previously defined aliases
but trying to call them errored
goto mydir
goto error: unregistered alias mydir
I had to reregister my aliases with
goto -r <alias> <directory>
and this solved it.
helpful link Can a Bash tab-completion script be used in zsh?
from goto.
Hi @ndsvw ,
I will try to to the same asap in my mac and let you know.
Thanks for the detailed feedback.
from goto.
Reporting that I had the same issue, and I understand this doesn't help the install with brew
, but I did have success simply using the manual method FWIW. So you can use it that way in the meantime @ndsvw
from goto.
I just ran into this issue, and it appears that the actual binary is not part the things installed; /usr/local/Cellar/goto/1.2.3 does not contain a binary.
-- EDIT --
Of course by binary I mean the shell script 😅
from goto.
@iridakos, can you update the brew-version of goto?
The lastest version of goto on brew is 1.2.3 (from 14 Mar 2018).
from goto.
Hi @ndsvw ,
I created a release and I will try to update the version in Brew as well. Unfortunately I no longer have access to a MacOS system and I can't test if the functionality is working on ZSH there. Do you have any updates on this?
from goto.
@ndsvw Here's the pull request to Homebrew Homebrew/homebrew-core#49477
from goto.
Having the same issue here.
zsh: command not found: goto
from goto.
Having same issue
OS: macos 10.15.6
Brew: 2.5.1
goto: 2.0.0
from goto.
If you're still using bash
with MacOS instead of zsh and are encountering this error, you can add this to your .bash_profile
to fix this error:
source $(brew --prefix)/etc/bash_completion.d/goto.sh
from goto.
I can source goto.sh to have the script works, but I cannot get the auto-completion work at all. When I press after writing "goto ", I get the auto-completion of the current folder's files instead... I tried all the solutions listed here. 😭
Note: The same .zshrc lines works on my Windows + WSL machine, but not on my MacOS (Monterey)
from goto.
Related Issues (20)
- Add colors to the list command
- OSX doesn't install to path HOT 19
- bash-completions breaking macOS HOT 4
- OSX: The command does not cd to that directory HOT 3
- On zsh, goto is unable to create aliases if ~/.goto does not exist HOT 1
- Partly not working on OSX 10.13.6 HOT 9
- Windows support? HOT 8
- Install not working Ubuntu HOT 2
- How to create an alias for goto itself? HOT 3
- Goto breaked after update to 1.2.4 HOT 1
- Storage of config file should use XDG_CONFIG_HOME if configured HOT 2
- Goto not working when in WSL and also using zsh HOT 3
- Issue in <TAB> autocomplete HOT 1
- Bug (Minor) (Linux): Does not check for ~/.config directory HOT 2
- Question: brew package of goto is out of date HOT 1
- Swallowing stderr breaks output of direnv
- goto --expand not return 1 on error
- Fish shell support HOT 2
- ohmyszsh error /usr/share/goto/goto.sh:456: command not found: compdef HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goto.