aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-01-22 10:05:02 -0500
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-01-22 10:05:02 -0500
commit3894a6aa32810bfeaaa6015a959fe5386c4abbee (patch)
tree173d625e1ca03c204a0c8fcdd488aa3a9398f266
downloaddotfiles-3894a6aa32810bfeaaa6015a959fe5386c4abbee.tar.gz
dotfiles-3894a6aa32810bfeaaa6015a959fe5386c4abbee.zip
initial commit
-rw-r--r--LICENSE21
-rw-r--r--Makefile2
-rw-r--r--bash/.bash_profile3
-rw-r--r--bash/.bashrc52
-rw-r--r--dircolors/.dircolors268
-rw-r--r--git/.gitconfig31
-rw-r--r--readline/.inputrc6
-rw-r--r--tmux/.tmux.conf22
-rw-r--r--vim/.vimrc59
9 files changed, 464 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..6fa4003
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 stonewall@sacredheartsc.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..35f8915
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,2 @@
+stow:
+ stow --target $$HOME --no-folding --restow --verbose */
diff --git a/bash/.bash_profile b/bash/.bash_profile
new file mode 100644
index 0000000..45cb87e
--- /dev/null
+++ b/bash/.bash_profile
@@ -0,0 +1,3 @@
+if [ -f ~/.bashrc ]; then
+ . ~/.bashrc
+fi
diff --git a/bash/.bashrc b/bash/.bashrc
new file mode 100644
index 0000000..a3e1e73
--- /dev/null
+++ b/bash/.bashrc
@@ -0,0 +1,52 @@
+if [ -f /etc/bashrc ]; then
+ . /etc/bashrc
+fi
+
+# User specific environment
+export EDITOR=vim
+export FCEDIT=$EDITOR
+export PAGER=less
+export LESS='-iMRS -x2'
+export CLICOLOR=1
+
+_path="$HOME/bin:$HOME/.local/bin:/usr/local/home/$USER/.local/bin"
+[[ "$PATH" =~ "$_path" ]] || export PATH="$_path:$PATH"
+unset _path
+
+HISTFILESIZE=20000
+HISTSIZE=10000
+
+shopt -s histappend
+shopt -s cmdhist
+shopt -s checkwinsize
+
+reset=$'\e[0m'
+blue=$'\e[1;34m'
+case "$(id -u)" in
+ 0) color=$'\e[1;31m' ;; # red
+ *) color=$'\e[0;32m' ;; # green
+esac
+PS1="\[${color}\]\u@\h\[${reset}\]:\[${blue}\]\W\[${reset}\]\[${color}\]\$\[${reset}\] "
+unset rseset blue color
+
+alias ls='ls --color=auto --group-directories-first -FHh'
+alias ll='ls -l'
+alias la='ls -lA'
+alias grep='grep --color=auto'
+alias ..='cd ..'
+alias ...='cd ...'
+alias mkdir='mkdir -p'
+alias df='df -h'
+alias du='du -ch'
+
+function man {
+ LESS_TERMCAP_md=$'\e[01;31m' \
+ LESS_TERMCAP_me=$'\e[0m' \
+ LESS_TERMCAP_se=$'\e[0m' \
+ LESS_TERMCAP_so=$'\e[01;47;30m' \
+ LESS_TERMCAP_ue=$'\e[0m' \
+ LESS_TERMCAP_us=$'\e[01;32m' \
+ command man "$@"
+}
+
+[ -f "$HOME/.dircolors" ] && eval "$(dircolors "$HOME/.dircolors")"
diff --git a/dircolors/.dircolors b/dircolors/.dircolors
new file mode 100644
index 0000000..de1bb8e
--- /dev/null
+++ b/dircolors/.dircolors
@@ -0,0 +1,268 @@
+# Zenburn color theme for the color GNU ls utility.
+# Ivaylo Kuzev <ivkuzev@gmail.com>, 2014 - 2015
+
+# Term Section
+TERM Eterm
+TERM ansi
+TERM color-xterm
+TERM con132x25
+TERM con132x30
+TERM con132x43
+TERM con132x60
+TERM con80x25
+TERM con80x28
+TERM con80x30
+TERM con80x43
+TERM con80x50
+TERM con80x60
+TERM cons25
+TERM console
+TERM cygwin
+TERM dtterm
+TERM eterm-color
+TERM gnome
+TERM gnome-256color
+TERM jfbterm
+TERM konsole
+TERM kterm
+TERM linux
+TERM linux-c
+TERM mach-color
+TERM mlterm
+TERM putty
+TERM rxvt
+TERM rxvt-256color
+TERM rxvt-cygwin
+TERM rxvt-cygwin-native
+TERM rxvt-unicode
+TERM rxvt-unicode256
+TERM rxvt-unicode-256color
+TERM screen
+TERM screen-256color
+TERM screen-256color-bce
+TERM screen-bce
+TERM screen-w
+TERM screen.linux
+TERM st
+TERM st-meta
+TERM st-256color
+TERM st-meta-256color
+TERM vt100
+TERM xterm
+TERM xterm-16color
+TERM xterm-256color
+TERM xterm-88color
+TERM xterm-color
+TERM xterm-debian
+TERM xterm-termite
+
+## Documentation
+#
+# Attribute codes:
+# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
+# Text color codes:
+# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
+# Background color codes:
+# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
+#
+# Text 256 color coding:
+# 38;5;COLOR_NUMBER
+# Background 256 color coding:
+# 48;5;COLOR_NUMBER
+
+# block device driver:
+BLK 48;5;108;38;5;223;01
+# file with capability:
+CAPABILITY 01;38;5;95
+# character device driver:
+CHR 48;5;108;38;5;223;01
+# directory:
+DIR 01;38;5;223
+# door:
+DOOR 48;5;234;38;5;180;01
+# This is for files with execute permission:
+EXEC 01;38;5;108
+# pipe:
+FIFO 48;5;234;38;5;180;01
+# regular file:
+#FILE 00
+# symbolic link:
+LINK 48;5;234;38;5;223
+# normal (nonfilename) text:
+#NORMAL 00
+# orphaned symbolic link:
+ORPHAN 48;5;234;38;5;187
+# directory that is other-writable (o+w) and not sticky:
+OTHER_WRITABLE 48;5;234;38;5;180
+# file that is setuid (u+s):
+SETUID 48;5;234;38;5;66
+# file that is setgid (g+s):
+SETGID 48;5;234;38;5;66
+# socket:
+SOCK 48;5;234;38;5;180;01
+# directory with the sticky bit set (+t) and not other-writable:
+STICKY 48;5;180;38;5;234
+# dir that is sticky and other-writable (+t,o+w):
+STICKY_OTHER_WRITABLE 48;5;180;38;5;234
+
+# archives
+.7z 01;38;5;174
+.arj 01;38;5;174
+.bz2 01;38;5;174
+.bz 01;38;5;174
+.gz 01;38;5;174
+.rar 01;38;5;174
+.tar 01;38;5;174
+.tgz 01;38;5;174
+.tbz 01;38;5;174
+.tbz2 01;38;5;174
+.xz 01;38;5;174
+.zip 01;38;5;174
+
+# packaged apps
+.apk 01;38;5;95
+.deb 01;38;5;174
+.jad 01;38;5;95
+.jar 01;38;5;95
+.rpm 01;38;5;174
+
+# images|graphics
+.bmp 00;38;5;109
+.gif 00;38;5;109
+.ico 00;38;5;109
+.jpg 00;38;5;109
+.JPG 00;38;5;109
+.jpeg 00;38;5;109
+.png 00;38;5;109
+.svg 00;38;5;109
+.xbm 00;38;5;109
+.xpm 00;38;5;109
+
+# audio formats
+.aac 00;38;5;116
+.au 00;38;5;116
+.flac 00;38;5;116
+.mid 00;38;5;116
+.midi 00;38;5;116
+.mka 00;38;5;116
+.mp3 00;38;5;116
+.mpc 00;38;5;116
+.ogg 00;38;5;116
+.ra 00;38;5;116
+.wav 00;38;5;116
+
+# video formats
+.mov 00;38;5;66
+.mpg 00;38;5;66
+.mpeg 00;38;5;66
+.m2v 00;38;5;66
+.mkv 00;38;5;66
+.ogm 00;38;5;66
+.mp4 00;38;5;66
+.m4v 00;38;5;66
+.mp4v 00;38;5;66
+.vob 00;38;5;66
+.qt 00;38;5;66
+.nuv 00;38;5;66
+.wmv 00;38;5;66
+.asf 00;38;5;66
+.rm 00;38;5;66
+.rmvb 01;38;5;66
+.flc 00;38;5;66
+.avi 00;38;5;66
+.fli 00;38;5;66
+.flv 00;38;5;66
+.gl 00;38;5;66
+.m2ts 00;38;5;66
+.divx 00;38;5;66
+.webm 00;38;5;66
+
+# shell
+.awk 00;38;5;151
+.bash 00;38;5;151
+.bat 00;38;5;151
+.BAT 00;38;5;151
+.sed 00;38;5;151
+.sh 00;38;5;151
+.zsh 00;38;5;151
+
+# build
+*CMakeLists.txt 00;38;5;187
+.cabal 00;38;5;187
+*Makefile 00;38;5;187
+.mk 00;38;5;187
+.make 00;38;5;187
+
+# source files
+.c 01;38;5;187
+.h 01;38;5;187
+.s 01;38;5;187
+.cs 01;38;5;187
+.java 01;38;5;187
+.scala 01;38;5;187
+.hs 01;38;5;187
+.py 01;38;5;187
+.rb 01;38;5;187
+.php 01;38;5;187
+.pl 01;38;5;187
+.vim 01;38;5;187
+.js 01;38;5;187
+.coffee 01;38;5;187
+.go 01;38;5;187
+.lisp 01;38;5;187
+.scm 01;38;5;187
+
+# documents
+.txt 04;38;5;188
+.tex 04;38;5;188
+.html 04;38;5;188
+.xhtml 04;38;5;188
+.xml 04;38;5;188
+.md 04;38;5;188
+.mkd 04;38;5;188
+.markdown 04;38;5;188
+.org 04;38;5;188
+.pandoc 04;38;5;188
+.pdc 04;38;5;188
+.pdf 04;38;5;188
+
+# Files of special interest
+*rc 04;38;5;180
+.conf 04;38;5;180
+*Dockerfile 04;38;5;180
+
+# meta
+*README 04;38;5;187
+*LICENSE 04;38;5;187
+*AUTHORS 04;38;5;187
+
+# version control
+.gitignore 00;38;5;248
+.gitmodules 00;38;5;248
+
+# logs and backups
+.log 00;38;5;234
+.bak 00;38;5;234
+.aux 00;38;5;234
+.toc 00;38;5;234
+*~ 00;38;5;234
+*# 00;38;5;234
+.swp 00;38;5;234
+.tmp 00;38;5;234
+.temp 00;38;5;234
+.o 00;38;5;234
+.pyc 00;38;5;234
+.class 00;38;5;234
+.cache 00;38;5;234
+
+# pacman files
+.pacnew 48;5;95;38;5;108
+.pacsave 48;5;95;38;5;108
+.pacorig 48;5;95;38;5;108
+*PKGBUILD 00;38;5;110
+
+# rpm files
+.rpmsave 48;5;95;38;5;108
+.rpmorig 48;5;95;38;5;108
+.rpmnew 48;5;95;38;5;108
+.spec 00;38;5;110
diff --git a/git/.gitconfig b/git/.gitconfig
new file mode 100644
index 0000000..e478105
--- /dev/null
+++ b/git/.gitconfig
@@ -0,0 +1,31 @@
+[user]
+ name = Stonewall Jackson
+ email = stonewall@sacredheartsc.com
+
+[core]
+ pager = less -FX
+ askPass =
+
+[color]
+ ui = auto
+
+[diff]
+ mnemonicPrefix = true
+
+[grep]
+ extendedRegexp = true
+
+[merge]
+ conflictStyle = diff3
+
+[pull]
+ rebase = preserve
+
+[status]
+ showUntrackedFiles = all
+
+[tag]
+ sort = version:refname
+
+[http]
+ emptyAuth = true
diff --git a/readline/.inputrc b/readline/.inputrc
new file mode 100644
index 0000000..3d7e20c
--- /dev/null
+++ b/readline/.inputrc
@@ -0,0 +1,6 @@
+"\e[A": history-search-backward
+"\e[B": history-search-forward
+
+set show-all-if-ambiguous on
+set completion-ignore-case on
+set match-hidden-files off
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..7beb53c
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,22 @@
+set -g default-terminal "screen-256color"
+set -s escape-time 0
+setw -g mode-keys vi
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+bind-key -T copy-mode-vi 'v' send -X begin-selection
+bind-key -T copy-mode-vi 'y' send -X copy-selection
+
+# zenburn
+setw -g clock-mode-colour colour117
+setw -g mode-style bold,fg=colour117,bg=colour238
+set -g status-style bg=colour235,fg=colour248
+setw -g window-status-current-style bold,fg=colour223,bg=colour237
+set -g message-style bold,fg=colour117,bg=colour235
+
+set-option -g set-titles on
+set-option -g set-titles-string "tmux [#S:#I] #T"
+set-option -g status-right "#(whoami)@#h #[fg=colour187,bold]%a %Y-%m-%d %H:%M"
+set -g status-right-length 50
+set -g status-left-length 20
diff --git a/vim/.vimrc b/vim/.vimrc
new file mode 100644
index 0000000..74938de
--- /dev/null
+++ b/vim/.vimrc
@@ -0,0 +1,59 @@
+syntax enable
+filetype on
+filetype plugin on
+filetype indent on
+
+set encoding=utf-8 " utf8 by default for new files
+set nocompatible " it's not 1985
+set nobackup " don't create ~backup files (persistent undo enabled)
+set number " show line numbers
+set nowrap " disable wrapping
+set cursorline " highlight current line
+set ttyfast " improve scrolling speed
+set lazyredraw
+set foldlevelstart=99 " unfold everything by default
+set noerrorbells " disable bell/flash
+set history=1000 " command history length
+set so=10 " horizontal scrollover
+set backspace=2 " make backspace work normally
+set tabpagemax=15 " max 15 tabs open
+set laststatus=2 " always display statusbar
+set previewheight=3 " maximum height for preview window
+set showmatch " highlight matching brace
+set updatetime=750 " improve latency for plugins
+set showcmd " show commands as they're being input
+set autoread " automatically reload when changed externally
+set hlsearch " highlight all search matches
+set incsearch " start searching before hitting 'enter'
+set ignorecase " perform case-insensitive search
+set smartcase " ...unless search term has a capital letter
+set hidden " hide buffers instead of closing them
+set wildmenu " autocomplete for command menu
+set modelines=1 " obey file modelines
+set completeopt=menu,menuone,longest,preview
+set timeoutlen=1000 ttimeoutlen=0
+
+set smartindent " autoindent
+set expandtab " replace hard tabs with spaces
+set shiftwidth=2 " tab width = 2 spaces
+set tabstop=2
+set softtabstop=2
+
+set pastetoggle=<F2> " F2 to toggle paste mode
+nnoremap <leader>q gqip
+map <leader>= mzgg=G`z<CR>
+noremap H :bp<CR>
+noremap L :bn<CR>
+nnoremap <leader><space> :noh<cr>
+
+if empty(glob('~/.vim/autoload/plug.vim'))
+ silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
+ \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+ autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
+endif
+
+call plug#begin('~/.vim/plugged')
+Plug 'vim-scripts/Zenburn'
+call plug#end()
+
+colors zenburn