dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | README | LICENSE

commit fc9fdcede664496ada98a081af0773ed08d06627 (patch)
parent 2eeb540c059a3f6ef0c469e72d91cc973314e752
Author: Alex Karle <alex@alexkarle.com>
Date:   Thu, 30 Dec 2021 22:45:12 -0500

Add "sysadmin" config--sh/git/vi/tmux

I haven't lost anything in the sh/git/vi department since
the great purge, but my tmux config is looking pretty sparse
still. For a stopgap "sysadmin" usage though, it's ready to
be committed and iterated on.

ed for EDITOR for funsies :)

Diffstat:
A.exrc | 6++++++
A.gitconfig | 22++++++++++++++++++++++
A.shrc | 10++++++++++
A.tmux.conf | 7+++++++
MREADME | 14++++++++++++++
5 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/.exrc b/.exrc @@ -0,0 +1,6 @@ +" vi(1) config +" NOTE: purposefully limited to vim(1) compatible +" so that the lack of a ~/.vimrc doesn't cause errors +" if this file is chosen for vim initialization too. +set ruler +set autoindent diff --git a/.gitconfig b/.gitconfig @@ -0,0 +1,22 @@ +[core] + editor = ed + +[user] + email = alex@alexkarle.com + name = Alex Karle + +[alias] + co = checkout + b = branch + s = status --short + ss = status + p = push + l = log --stat + a = add + rb = rebase + rs = reset + d = diff + c = commit + +[pull] + ff = only diff --git a/.shrc b/.shrc @@ -0,0 +1,10 @@ +# .shrc -- interactive sh/ksh config (via $ENV) +PS1='\u@\h:\w \$ ' +HISTFILE="$HOME/.sh_history" +HISTSIZE=100000 + +export EDITOR=ed +export VISUAL=vi + +alias ll='ls -lahF' +alias g='git' diff --git a/.tmux.conf b/.tmux.conf @@ -0,0 +1,7 @@ +# .tmux.conf +set-option -g prefix C-a +unbind-key C-b +bind-key C-a send-prefix + +# Less delay on pressing escape (for vim) +set-option -sg escape-time 10 diff --git a/README b/README @@ -11,3 +11,17 @@ I wanted to start from scratch to both: Dotfiles have a funny way of going stale. Here's to a fresh start! + +Usage: +------ +There's really two settings where these +are used: + +* System administration -- really only + need shell / primitive vi config +* Programming -- I need the whole 9 yards + for my dayjob. Linting, completion, etc + +The first is mostly complete (I don't need +much), but the second is a work-in-progress +as I retool under a OSI-approved license!