Comments (8)
That would be awesome. I haven't tried zsh
myself but I hear it's amazing. From what I understand, zsh
is mostly compatible with bash
. Surely the POSIX shell aspects would work in both. I imagine it wouldn't be that hard to support both in git-sh.bash
.
The big challenge here is probably going to be the bash-completion
sources. It's a massive bit of bash that problem won't run in zsh
. It might be necessary to use a completion lib that's built for zsh
, which may or may not exist.
Anyway, I love the idea. Not sure I'll be able to work on it anytime soon unless I happen to try zsh
and have to have it.
from git-sh.
As far as I understand the completion support in zsh is superior to what Bash provides. (Like showing a list of options in a menu with help text.) So it might be the case that extending zsh completion is also relatively easy.
from git-sh.
I don't even use the completion in git-sh, just mainly the prompt. So even getting the prompt to function in zsh would be a major bonus for me.
from git-sh.
I've managed to make git-sh available in zsh. For the prompt I use zsh's builtin functionality which is quite impressive that it tries to minimize calls to git rev-parse etc. depending on your location inside the Git repo.
Let me know if it helps to put up a file for download containing my zsh customizations.
from git-sh.
Yes, please put it up somewhere. I would really appreciate it.
from git-sh.
http://therightstuff.de/download/zsh-git-sh.zip
I put that in my Cygwin home directory.
from git-sh.
Is there an up to date zsh fork of this? I'm considering switching over but this is my primary shell environment.
from git-sh.
@agross
It would be nice, if you could provide your customizations as a pull request and/or fork.
from git-sh.
Related Issues (20)
- chsh does not work HOT 1
- Custom-formatted log alias fails when loading git sh HOT 2
- Tag a new stable version (1.2? 1.1.1?) for Homebrew HOT 3
- Moving untracked files HOT 6
- Compiling on Cygwin HOT 1
- Feature: Make 'cd ~' go to project root directory HOT 3
- git-sh disables bash-completion for git HOT 1
- set window title with escape sequences
- Accept aliasses of hub HOT 1
- la="git log --pretty="format:%ad %h (%an): %s" --date=short" creates syntax error
- how to uninstall
- Let `enter` output `git status` HOT 1
- hash-object shortcut missing HOT 2
- No alias for 'git push'? HOT 1
- Maintained fork? HOT 1
- Feature: add numbers to file listings HOT 1
- Enable wiki for customization recipes HOT 1
- Syntax error when exporting ~/.gitconfig aliases as top-level commands HOT 1
- Feature: add difftool command HOT 2
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 git-sh.