Adding to chezmoi....
This commit is contained in:
22
dot_gitconfig
Normal file
22
dot_gitconfig
Normal file
@@ -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
|
||||||
44
dot_vimrc
Normal file
44
dot_vimrc
Normal file
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
132
dot_zshrc
Normal file
132
dot_zshrc
Normal file
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user