From 05944cdba8fb05551fda8ec13782a567418684ff Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Thu, 15 Jan 2026 11:41:29 -0500 Subject: [PATCH] Adding to chezmoi.... --- dot_gitconfig | 22 +++++++++ dot_vimrc | 44 +++++++++++++++++ dot_zshrc | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 198 insertions(+) create mode 100644 dot_gitconfig create mode 100644 dot_vimrc create mode 100644 dot_zshrc diff --git a/dot_gitconfig b/dot_gitconfig new file mode 100644 index 0000000..7ba3588 --- /dev/null +++ b/dot_gitconfig @@ -0,0 +1,22 @@ +[user] + email = reachableceo@turnsys.com + name = Charles N Wyble +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[credential "https://reachableceo.com"] + provider = generic +[credential "https://handbook.turnsys.com"] + provider = generic +[credential "https://shopbook.startinglineproductions.com"] + provider = generic +[alias] + lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all + lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all + lg = !"git lg1" +[http] + sslVerify = false +[oh-my-zsh] + hide-status = 1 diff --git a/dot_vimrc b/dot_vimrc new file mode 100644 index 0000000..b5335e1 --- /dev/null +++ b/dot_vimrc @@ -0,0 +1,44 @@ +"General creature comforts I just can't live without. +syntax on +set ai +set tabstop=4 +set number +set paste +set hidden +set history=10000 +set showmatch +set incsearch +set foldenable +set nowrap +"set spell spelllang=en_us +"Always show statusline +set laststatus=2 + +"Color stuff, cause when you hax for hours, it's nice to have good colors + +set background=dark + +"Use 256 colours (Use this setting only if your terminal supports 256 colours) +set t_Co=256 + + +"colorscheme lucid + +"Other plugins + +"Infect me.... useful plugins. yay pathogen +"iexecute pathogen#infect() +"filetype plugin indent on + +"Need to figure out a better way to do this, hence why it's commented +"Safety first +"set backup " Backups are nice ... +" if has('persistent_undo') +" set undofile " So is persistent undo ... +" set undolevels=1000 " Maximum number of changes that can be undone +" set undoreload=10000 " Maximum number lines to save for undo on a buffer reload + + + + + diff --git a/dot_zshrc b/dot_zshrc new file mode 100644 index 0000000..a79bda7 --- /dev/null +++ b/dot_zshrc @@ -0,0 +1,132 @@ +#CNW Customized zshrc + +# Last updated 2025-01-14 + +# This is running on ultix-sandbox. That is my peramment home/base of operations. +# I try to minimize interactive shell use on other systems and do everything via gitops or termix + +# This files merges : +# - my own creature comforts/wants +# along with stuff from +# - oh-my-zsh installer +# - powerline +# - powerlevl10k + + +# Oh-my-zsh + + +export ZSH="$HOME/.oh-my-zsh" +ZSH_THEME="robbyrussell" +ENABLE_CORRECTION="true" +DISABLE_UNTRACKED_FILES_DIRTY="true" +HIST_STAMPS="yyyy-mm-dd" +plugins=(git) +source $ZSH/oh-my-zsh.sh + + + + + + + + + +################################################################################################################################### +# CNW configuration from here +################################################################################################################################### + + +############################# +############################# +# Creature comforts +############################# +############################# + +######### +#VIM MODE +######### + +#vi 24x7 yo, this isn't a holiday inn (ti was last night, it isn't now) +bindkey -v # vi key bindings +set -o vi + + +if [[ -n $SSH_CONNECTION ]]; then + export EDITOR='vim' +else + export EDITOR='vim' +fi + +################################### +################################### +# History configurations +################################### +################################### + +HISTFILE=~/.zsh_history +HISTSIZE=10000 +SAVEHIST=50000000 #Number of history entries to save to disk +HIST_STAMPS="mm/dd/yyyy" +setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE +setopt hist_ignore_dups # ignore duplicated commands history list +HISTDUP=erase #Erase duplicates in the history file +setopt hist_verify # show command with history expansion to user before running it +setopt appendhistory #Append history to the history file (no overwriting) +setopt incappendhistory #Immediately append to the history file, not just when a term is killed + +alias history="history 0" # force zsh to show the complete history + +#DO NOT Share history across terminals +setopt no_share_history +unsetopt sharehistory + +TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P' # configure `time` format + + +################################### +################################### +# SSH related things +################################### +################################### + +###################### +# Bitwarden SSH Agent +###################### + +export SSH_AUTH_SOCK=/home/charles/.bitwarden-ssh-agent.sock + + +################################### +################################### +# Paths and loaders +################################### +################################### + +####### +# Rust +####### + +. "$HOME/.cargo/env" + +####### +# MISE +####### + +if command -v mise &> /dev/null; then + eval "$(mise activate zsh)" +fi + + +################################### +################################### +#Aliases... +################################### +################################### + +source ~/Projects/ReachableCEO/dotfiles/zsh-configs/reachableceo-zshrc-aliases.sh + + + + +