diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index 4ee1ba7..dcd91d7 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -2,6 +2,8 @@ [user] name = Nick Nisi email = nick@nisi.org +[github] + user = nicknisi [alias] ci = commit -a co = checkout @@ -40,6 +42,8 @@ undo = reset --soft HEAD~1 amend = commit --amend -C HEAD + cleanup = "!git remote prune origin && git gc && git clean -df && git stash clear" + # grep commands # 'diff grep' @@ -94,4 +98,4 @@ pager = less -FXRS -x2 editor = vim [rerere] - enabled = false + enabled = true diff --git a/tmux/tmux.conf.symlink b/tmux/tmux.conf.symlink index 3356696..a414103 100644 --- a/tmux/tmux.conf.symlink +++ b/tmux/tmux.conf.symlink @@ -5,6 +5,9 @@ set -g status-utf8 on set -g history-limit 20000 +# automatically renumber tmux windows +set -g renumber-windows on + # unbind default prefix and set it to Ctrl+a unbind C-b set -g prefix C-a