mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 15:07:23 +01:00
use GNU stow for setup
This commit is contained in:
6
zsh/.zsh/configs/post/completion.zsh
Normal file
6
zsh/.zsh/configs/post/completion.zsh
Normal 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
|
||||
13
zsh/.zsh/configs/post/path.zsh
Normal file
13
zsh/.zsh/configs/post/path.zsh
Normal 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
|
||||
Reference in New Issue
Block a user