changed tmux things, added ropeproject to gitignore.

This commit is contained in:
Ivan Malison 2014-04-21 18:42:03 -07:00
parent bfebc68743
commit 9c4c5551fe
3 changed files with 11 additions and 2 deletions

View File

@ -15,7 +15,6 @@ class GitDiffReplacer(object):
self.replacing_string = replacing_string self.replacing_string = replacing_string
self.verbose = verbose self.verbose = verbose
@property @property
def modified_files_command(self): def modified_files_command(self):
return linecmd('git diff {} {} --name-only', self.source_ref, return linecmd('git diff {} {} --name-only', self.source_ref,

View File

@ -125,3 +125,13 @@ function git_diff_replacing() {
test -z $debug || git diff $original_sha $new_sha --name-only | grep -v "$replacing" test -z $debug || git diff $original_sha $new_sha --name-only | grep -v "$replacing"
git diff $original_sha $new_sha --name-only | grep -v "$replacing" | xargs -I filename sh -c "git diff $original_sha:filename $new_sha:"$replace_sha_string git diff $original_sha $new_sha --name-only | grep -v "$replacing" | xargs -I filename sh -c "git diff $original_sha:filename $new_sha:"$replace_sha_string
} }
function git_reset_author() {
git filter-branch -f --env-filter '
if test "$GIT_COMMITTER_NAME" = "Ivan Malison"
then
GIT_COMMITTER_EMAIL="IvanMalison@gmail.com"
export GIT_COMMITTER_EMAIL
fi
' -- --all
}

View File

@ -1,4 +1,4 @@
unbind C-o unbind C-g
set -g prefix C-b set -g prefix C-b
bind-key C-b send-prefix bind-key C-b send-prefix