Replace custom package management with Gnu Stow support
This commit is contained in:
1
zsh/.gitignore
vendored
Normal file
1
zsh/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
dot-env
|
||||
7
zsh/dot-functions/wreck.zsh
Normal file
7
zsh/dot-functions/wreck.zsh
Normal file
@@ -0,0 +1,7 @@
|
||||
function wreck() {
|
||||
pushd .
|
||||
|
||||
WRECKDIR=`mktemp -d /tmp/wreckXXXXXXXXX` && {
|
||||
cd $WRECKDIR
|
||||
}
|
||||
}
|
||||
1
zsh/dot-scripts/.gitignore
vendored
Normal file
1
zsh/dot-scripts/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
geometry
|
||||
35
zsh/dot-zshrc
Normal file
35
zsh/dot-zshrc
Normal file
@@ -0,0 +1,35 @@
|
||||
source ~/.env
|
||||
|
||||
eval "$(rbenv init -)"
|
||||
eval "$(nodenv init -)"
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
|
||||
if type brew &>/dev/null; then
|
||||
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
fi
|
||||
|
||||
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
# heroku autocomplete setup
|
||||
HEROKU_AC_ZSH_SETUP_PATH=/Users/myockey/Library/Caches/heroku/autocomplete/zsh_setup && test -f $HEROKU_AC_ZSH_SETUP_PATH && source $HEROKU_AC_ZSH_SETUP_PATH
|
||||
|
||||
typeset -U path cdpath fpath
|
||||
setopt auto_cd
|
||||
cdpath=($HOME/src)
|
||||
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*:descriptions' format %d
|
||||
|
||||
export COMPLETION_WAITING_DOTS="true"
|
||||
export TERM="xterm-256color"
|
||||
export GPG_TTY=$(tty)
|
||||
export EDITOR="code -nw"
|
||||
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
|
||||
export PATH="/usr/local/sbin:$PATH"
|
||||
|
||||
for file in $HOME/.functions/*.zsh; do
|
||||
source $file
|
||||
done
|
||||
source $HOME/.scripts/geometry/geometry.zsh
|
||||
Reference in New Issue
Block a user