Comments (13)
I'm not pressuring you to cut a release
No probs, it's not happening before next weekend anyway ;).
from googler.
@zmwangx I have taken care of item 1 and 3. Planning a release this weekend.
from googler.
👍
from googler.
Updated the -git package here and the completions seem to work great. Might even try using fish myself... lol. Will update main package accordingly when ready.
from googler.
@shaggytwodope we will make a release this weekend, most probably tomorrow. Stay tuned! ;)
from googler.
@shaggytwodope @zmwangx released v2.3. Things look quite stable.
Sorry, I couldn't complete the testing by morning. Got real sleepy around 4AM.
@shaggytwodope Fish shell is awesome. You may need to switch to bash for serious scripting. But productivity-wise Fish is kick-ass with its auto-completion for commands, manpages and history. Some way or other it will always pick up the stuff you wanted to type.
from googler.
@jarun awesome, aur package updated.
I will eventually give fish a try... need to find time to move from zsh.
from googler.
Thank you! 👍
from googler.
Submitted Homebrew/homebrew-core#558.
Speaking of shells, I've tried fish before and was not particularly impressed. It's a good shell out of the box, but that's pretty much it, there's not much room for improvement AFAIK; whereas Zsh is customizable in almost every fashion imaginable. When done right (this is important), there's more granularity in Zsh than in any other shell, especially in terms of completions. With the possible exceptions of syntax highlighting and predictive typing. There are zsh-syntax-highlighting and zsh-auto-suggestions, but I'm not at all impressed by those. Fortunately I'm not a fan of either feature. I find syntax highlighting in shell rather useless most of the time (shell commands are usually pretty simple and you don't need "googler" in blue to know it's a command; and when shell commands get complicated, especially with Zsh's rich expansion facilities, syntax highlighting can't keep up anyway) and even somewhat distracting when the color jumps around the spectrum as you type (g red, go blue, goo red, goog red, googl red, google blue, googler blue...). As for predictive typing, completion system does most of the job, and if I'm typing something over and over which can't be helped by the completion system, I'll just make an alias (sometimes directory local ones, I have a ton of those), problem solved.
My other problem with fish is its non-POSIX syntax. I can't copy from the command line into scripts and vice versa, and that's very counter-productive, considering how many scripts I write.
By the way, I seriously recommend serious scripting in Zsh instead of Bash. Zsh's expansions are so rich, they simply work wonders and save you tons of time. On the very surface level, not having to quote parameter expansion, and being able to expand an array with $array
instead of "${array[@]}"
are already big wins both in productivity and security. I'll just give one (ubiquitous) example of why it's superior to Bash for scripting. When you write scripts you often want to know the absolute path of the script in order to call other scripts from the same or related directories, and/or find data in relevant locations. (Very simple demand, the single most upvoted bash question on SO.) In Zsh this is as simple as
here=$0:A:h
:A
for expanding to the absolute path, :h
for taking the dirname. In Bash this is almost mission impossible, unless you write a path resolver (which is of course possible in pure bash, but good luck doing that in every single script). You can try external commands, say readlink
or realpath
, but there's no cross-platform way to do it, because realpath
is not always available, and BSD readlink
is incompatible with coreutils readlink
. Neither is POSIX anyway. In the end I usually just resort to Perl:
here="$(perl -e 'use File::Basename; use Cwd "abs_path"; print dirname(abs_path(@ARGV[0]));' -- "$0")"
Very sad.
from googler.
Looks like I have to try out Zsh.
Thanks for the cool release guys! I am happy with where we have reached so far with googler
.
from googler.
Looks like I have to try out Zsh.
No obligation, interactive shell is mostly a personal preference. Fish to Zsh is definitely a hard sell, it's almost impossible to convince someone to dig into configurations once he's used to an excellent out-of-box experience; but to me, Zsh configuration is almost an art 😃 If you do want to try Zsh though, make sure to take a look at https://github.com/sorin-ionescu/prezto/ .
I feel stronger about Zsh vs Bash for noninteractive use. IMO there's hardly any reason to use Bash over Zsh beyond availability (which isn't a problem for personal use), so do try to write Zsh for personal scripts, you'll enjoy it.
from googler.
Merged in Homebrew 😃
from googler.
👍
from googler.
Related Issues (20)
- Understanding packaging HOT 1
- 无法使用 HOT 1
- Googler doesn't use default browser HOT 1
- New Design for Google News HOT 9
- reCAPTCHA-solving to use the service HOT 2
- Can't see sitelinks? HOT 1
- DeprecationWarning: ssl.PROTOCOL_TLS is deprecated HOT 2
- How do I pipe the output? > HOT 1
- Search by filetype HOT 2
- How do I exclude specific keywords? HOT 1
- ssl.PROTOCOL_TLS is deprecated warning HOT 4
- No Results. HOT 4
- Video-specific search not working
- exception TrackedTextwrap: the impossible happened at offset nn of text "" HOT 2
- how we can include ads HOT 1
- Recent error message HOT 1
- googler skipping first result for some searchs HOT 3
- No results for domain search (when the site: keyword/-d switch in use) HOT 1
- Results site youtube.com (results order)
- Showing none or just a single result
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 googler.