Add functions capability
Includes the wreck directory function
This commit is contained in:
13
zshrc
13
zshrc
@@ -1,6 +1,10 @@
|
||||
eval "$(rbenv init -)"
|
||||
eval "$(nodenv init -)"
|
||||
|
||||
while IFS= read -r line; do
|
||||
export $line
|
||||
done <$INSTALL_DIR/.env
|
||||
|
||||
source $INSTALL_DIR/packages/geometry/geometry.zsh
|
||||
|
||||
if type brew &>/dev/null; then
|
||||
@@ -12,6 +16,10 @@ fi
|
||||
|
||||
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
for file in $INSTALL_DIR/functions/*.zsh; do
|
||||
source $file
|
||||
done
|
||||
|
||||
typeset -U path cdpath fpath
|
||||
setopt auto_cd
|
||||
cdpath=($HOME/src)
|
||||
@@ -19,4 +27,9 @@ 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 PATH="/usr/local/sbin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user