From f7b0e5e29d1d925222ad28205cdead2d4d065b9d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 11 Jun 2024 16:29:00 +0200 Subject: [PATCH] updated .zshrc --- .zshrc | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.zshrc b/.zshrc index 2738ecf3..69d5f126 100644 --- a/.zshrc +++ b/.zshrc @@ -190,3 +190,34 @@ source $ZSH/oh-my-zsh.sh # alias ohmyzsh="mate ~/.oh-my-zsh" # ============================================================================ # + +# Lines configured by zsh-newuser-install +HISTFILE=~/.histfile +HISTSIZE=1000 +SAVEHIST=1000 +setopt appendhistory autocd extendedglob nomatch notify +unsetopt beep +bindkey -e +# End of lines configured by zsh-newuser-install +# The following lines were added by compinstall +zstyle :compinstall filename '/home/hari/.zshrc' +autoload -Uz compinit +compinit +# End of lines added by compinstall + +# added by travis gem - Travis is legacy now, don't bother with this +#[ -f /Users/hari/.travis/travis.sh ] && source /Users/hari/.travis/travis.sh + +if type -P direnv &>/dev/null; then + eval "$(direnv hook zsh)" +fi + +autoload -U +X bashcompinit && bashcompinit +complete -o nospace -C /Users/hari/bin/terraform terraform +complete -o nospace -C /Users/hari/bin/terraform tf + +complete -o nospace -C /usr/local/bin/terragrunt terragrunt + +#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! +export SDKMAN_DIR="/Users/hari/.sdkman" +[[ -s "/Users/hari/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/hari/.sdkman/bin/sdkman-init.sh"