-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0 upgrade #16
2.0 upgrade #16
Conversation
- Uses native zoom pane feature - Uses native copy-pipe functionality
From Tmux 1.8, it's not needed anymore.
Signed-off-by: Claudio Ortolina <claudio@new-bamboo.co.uk>
- Basic list of plugins - Updates install process - Ignores the bundle directory - Adds the silver searcher for compatibility Signed-off-by: Claudio Ortolina <claudio@new-bamboo.co.uk>
- Removes Pathogen references - Adds paragraph to explain Vundle usage
- toggle rectangle selection - automatic pane renumbering
- Uses simple function - Works with default complete options - Removes supertab
@@ -1,5 +1,3 @@ | |||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |||
|
|||
function __git_dirty { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can configure git-prompt.sh
to show this automatically (I presume you're using that), and use PROMPT_COMMAND
instead of PS1
for the colours git st
uses.
# In addition, if you set GIT_PS1_SHOWDIRTYSTATE to a nonempty value,
# unstaged (*) and staged (+) changes will be shown next to the branch
# name. You can configure this per-repository with the
# bash.showDirtyState variable, which defaults to true once
# GIT_PS1_SHOWDIRTYSTATE is enabled.
# If you would like a colored hint about the current dirty state, set
# GIT_PS1_SHOWCOLORHINTS to a nonempty value. The colors are based on
# the colored output of "git status -sb" and are available only when
# using __git_ps1 for PROMPT_COMMAND or precmd.
https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! It would be much better, I'll investigate this!
- Reset position when editing a commit. - Automatically remove trailing whitespace when saving certain files.
Seems like you can use a Brewfile now, if all the dependencies are installed via Homebrew: https://coderwall.com/p/afmnbq Can't see any official documentation yet. Must be pretty new. |
It does look like it: a search shows this PR: Homebrew/legacy-homebrew#24107, which has been completely merged and closed 5 days ago. I'll test it! |
The |
Thanks @christianbundy! I wouldn't expect any and in the end it would be just an update with a few installs, no taps, dupes or casks. I have it on my local machine and it seems fine. Can I just ask you if there's an associated release number for that feature? Something I could potentially use to perform a preliminary check? |
This is really cool. Anything to tighten up the configuration/installation! Edit: OMG. I didn't scroll up to the top. @cloud8421 has been busy. Let me do a test install and check it out! |
Woah, sorry about that @cloud8421 – didn't see your comment. There isn't a release number for that, but you could make sure that it's supported by running: cd $(brew --prefix)
count=$(git rev-list HEAD --count)
if [ $count -gt 25122 ]; then
echo 'Brewfile supported'
fi
cd - 2>&1 >/dev/null This just counts number of commits in the Homebrew repo, and if it's greater than 25122 then Brewfile must be supported |
Thanks again @christianbundy, that would work! |
Thanks @allolex! I think it should be ok in general, however I know you have an RVM preference so that could be a problem ;-) |
I've been using chruby since August. ;) |
This is the PR for 2.0 release, with a substantial changelog:
brew bundle
.