mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Updated zsh config
This commit is contained in:
@@ -12,50 +12,6 @@
|
||||
_source_if() { test -r "$1" && source "$1" || return 0 }
|
||||
|
||||
#------------------------------ exports ------------------------------
|
||||
# Config
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local"
|
||||
export ZDOTDIR="$HOME/.config/zsh"
|
||||
export SHELL="$(which zsh)"
|
||||
|
||||
# Directories
|
||||
export ARCHIVE="/Volumes/Archive"
|
||||
export BUCKET="/Volumes/Bucket"
|
||||
export REPOS="$BUCKET/Repos"
|
||||
export GHREPOS="$REPOS/github.com/$GITUSER"
|
||||
export HHEREPOS="$BUCKET/Repos/github.com/hhe-dev"
|
||||
export LOCAL_REPOS="$REPOS/local"
|
||||
export HCP_NOTES="$HHEREPOS/hcp-notes"
|
||||
export HXZET="$BUCKET/Repos/github.com/hvac-hx/hx-zets"
|
||||
export HAAS="$BUCKET/Repos/github.com/haas"
|
||||
export HAASZET="$HAAS/zets"
|
||||
export DOCUMENTS="$HOME/Documents"
|
||||
export DOWNLOADS="$HOME/Downloads"
|
||||
export PDFS="$HOME/Library/Mobile Documents/com~apple~Preview/Documents"
|
||||
export PROPOSALS="$HOME/Library/Mobile Documents/com~apple~CloudDocs/Work/Proposals"
|
||||
export SCREENSHOTS="$BUCKET/Pictures/Screenshots"
|
||||
export DOTFILES="$HOME/.dotfiles"
|
||||
export SCRIPTS="$HOME/.local/scripts"
|
||||
export WORK="$HOME/Library/Mobile Documents/com~apple~CloudDocs/Work"
|
||||
export ZETDIR="$GHREPOS/zets"
|
||||
|
||||
# Git
|
||||
export GITUSER="m-housh"
|
||||
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
||||
|
||||
# NPM
|
||||
NPM_CONFIG_CACHE="$HOME/.local/npm"
|
||||
|
||||
export TERM=xterm-256color
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
export EDITOR_PREFIX=nvim
|
||||
#export VIMINIT='source $MYVIMRC'
|
||||
#export MYVIMRC="$HOME/.vim/vimrc"
|
||||
export MYZSHRC="$ZDOTDIR/.zshrc"
|
||||
export NVIM_APPNAME="m-housh"
|
||||
export NAP_CONFIG="$HOME/.config/nap/config.yaml"
|
||||
|
||||
autoload -U up-line-or-beginning-search
|
||||
autoload -U down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
@@ -115,7 +71,8 @@ path_prepend \
|
||||
"/usr/local/bin" \
|
||||
"/opt/homebrew/bin" \
|
||||
"/opt/homebrew/sbin" \
|
||||
"$HOME/go/bin" \
|
||||
"$GOROOT/bin" \
|
||||
"$GOPATH/bin" \
|
||||
"$HOME/.local/bin" \
|
||||
"$SCRIPTS"
|
||||
|
||||
@@ -204,7 +161,7 @@ alias gs='git status'
|
||||
alias l='ls -lah --color=auto'
|
||||
alias reload='exec zsh -l'
|
||||
alias t='tmux'
|
||||
alias ts='$~/.local/scripts/tmux-sessionator'
|
||||
alias ts='~/.local/scripts/tmux-sessionator'
|
||||
alias tss='~/.local/scripts/tmux-sessionator --choose'
|
||||
alias tls='tmux list-sessions'
|
||||
alias temp='cd $(mktemp -d)'
|
||||
|
||||
Reference in New Issue
Block a user