Add more config files to the base role.
This commit is contained in:
11
ansible/roles/base/files/git_branches_by_owner_time
Normal file
11
ansible/roles/base/files/git_branches_by_owner_time
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# List git remote branches by owner
|
||||
#git for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' | sort -k5n -k2M -k3n -k4n
|
||||
|
||||
# git fetch --all --prune
|
||||
# git for-each-ref --format='%(committerdate:relative) %09 %(authorname) %09 %(refname)' --sort='committerdate' | grep 'Tom Alexander'
|
||||
|
||||
git ls-remote --heads origin | awk '{print $1}' | while read hash; do
|
||||
PAGER='' git log -n1 --pretty=format:'%Cgreen%<(20)%cr%Creset %C(bold blue)%<(20)%an%Creset %C(yellow)%d%Creset %n' "$hash"
|
||||
done
|
||||
15
ansible/roles/base/files/gitconfig_home
Normal file
15
ansible/roles/base/files/gitconfig_home
Normal file
@@ -0,0 +1,15 @@
|
||||
[user]
|
||||
email = tom@fizz.buzz
|
||||
name = Tom Alexander
|
||||
signingkey = D3A179C9A53C0EDE
|
||||
[push]
|
||||
default = simple
|
||||
[alias]
|
||||
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
||||
bh = log --oneline --branches=* --remotes=* --graph --decorate
|
||||
[core]
|
||||
excludesfile = /home/talexander/.gitignore_global
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[pull]
|
||||
rebase = true
|
||||
2
ansible/roles/base/files/gitignore_global
Normal file
2
ansible/roles/base/files/gitignore_global
Normal file
@@ -0,0 +1,2 @@
|
||||
.idea
|
||||
.python-version
|
||||
0
ansible/roles/base/files/ignore
Normal file
0
ansible/roles/base/files/ignore
Normal file
8
ansible/roles/base/files/tmux.conf
Normal file
8
ansible/roles/base/files/tmux.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
set-option -g mouse on
|
||||
set-option -g history-limit 20000
|
||||
# set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
# Emacs style
|
||||
# bind-key -T copy-mode y send-key -X copy-pipe-and-cancel "xsel -i -p && xsel -o -p | xsel -i -b"
|
||||
# bind-key -T copy-mode y send-key -X copy-pipe "xsel -i -p && xsel -o -p | xsel -i -b"
|
||||
# bind-key C-y run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
|
||||
# unbind -T copy-mode MouseDragEnd1Pane
|
||||
Reference in New Issue
Block a user