Add more config files to the base role.

This commit is contained in:
Tom Alexander
2022-10-27 00:07:06 -04:00
parent b8658ad1dc
commit 2e0a6073c8
10 changed files with 85 additions and 0 deletions

View 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

View 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

View File

@@ -0,0 +1,2 @@
.idea
.python-version

View File

View 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