use GNU stow for setup

This commit is contained in:
Thomas Ruoff
2018-05-09 00:08:38 +02:00
parent 5d78e5848d
commit f9c702ed55
33 changed files with 24 additions and 149 deletions

View File

@@ -0,0 +1,6 @@
# load our own completion functions
fpath=(~/.zsh/completion $fpath)
# completion
autoload -U +X compinit && compinit
autoload -U +X bashcompinit && bashcompinit

View File

@@ -0,0 +1,13 @@
# ensure dotfiles bin directory is loaded first
PATH="$HOME/local/bin:$PATH"
# load rbenv if available
if command -v rbenv >/dev/null; then
eval "$(rbenv init - --no-rehash)"
fi
# nvm
NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
export -U PATH