Skip to content

Commit

Permalink
fix missing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankatliarchuk committed Sep 12, 2020
1 parent c2823b9 commit 0483459
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 6 additions & 0 deletions zsh/functions/eval.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
# -*- mode: sh -*-

eval "$(direnv hook zsh)"

# Load zprezto if it's installed
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi

eval "$(aws-vault --completion-script-zsh)"
[[ -d "$PYENV_ROOT" ]] && eval "$(pyenv init -)"
# eval "$(hub alias -s)"
Expand Down
10 changes: 1 addition & 9 deletions zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@ umask 077
# Created by dotfiles
[[ "$TERM" == "screen" ]] && export TERM=screen-256color

[[ -f ~/.zsh/functions/eval.zsh ]] && source ~/.zsh/functions/eval.zsh # source values

[[ -f ~/.zsh/functions/eval.zsh ]] && source ~/.zsh/functions/eval.zsh # source values
for f in $(compaudit);do sudo chmod -R 755 $f;done;

#
# Zprezto
#
# Load zprezto if it's installed
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi

# load custom executable functions
for function in ~/.zsh/functions/*; do
source $function
Expand Down

0 comments on commit 0483459

Please sign in to comment.