Comments (4)
Nice comparison @extremepayne. But I think I don't agree on the "cd
has a behaviour when passed no arguments" point:
- First,
cd
is much more known and used, most people who've installedbd
have probably forgotten they even have it. - Second, how do we know the
cd
authors are happy with that choice or if they keep it that way for backward compatibility?
But, I think it makes sense for you to fork this and make the minor change. You have my blessings. :)
from zsh-bd.
Not sure I like that idea. It would not be able to print a usage then right? Why not make your own alias alias up='cd ..'
?
from zsh-bd.
Right, since you can have a directory named -h
it's impossible to implement a help flag. So I see why you're hesitant to implement this. But I feel like the two usages are so easy that they should be self-explanatory. Generally, I feel like a help page isn't super necessary unless you have flags or options.
Justification:
plain cd
is equivalent to cd ~
. cd
has no help accessible from the command line. This feels rather analogous to bd
being equivalent to bd 1
. It's supposed to save me time, which it does often, but when I'm only moving up one dir I feel like the 1 character difference between bd 1
and cd ..
isn't worth the retraining my fingers.
But this is your project, and if you don't feel comfortable with removing the usage, that's okay. I can just fork it, implement it myself, and move on.
from zsh-bd.
Ok, thanks! I made my own fork now so to anyone who also wants this behaviour my fork is over at Melkster/zsh-bd.
from zsh-bd.
Related Issues (10)
- zsh-bd for prezto HOT 4
- Feature request: match incomplete string at beginning of line HOT 1
- Feature request: support case-insensitive directory match HOT 5
- Error when using antigen HOT 2
- bd into cwd is meaningless HOT 2
- Feature request: add support for folder color in tab-completion HOT 1
- Add fuzzy support HOT 1
- How to install as oh-my-zsh plugin? HOT 5
- Syntax error: word unexpected (expecting ")") HOT 6
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 zsh-bd.