TheChetan

zshrc

Feb 3rd, 2022 (edited)
1,500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.75 KB | None | 0 0
  1. set -o vi
  2.  
  3. if type brew &>/dev/null; then
  4.     FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
  5.  
  6.     autoload -Uz compinit
  7.     compinit -u
  8. fi
  9.  
  10. autoload -U colors && colors
  11. PS1="%{$fg[cyan]%}%D{%L:%M:%S} %{$fg[green]%}%(5~|%-1~/.../%3~|%4~) %{$reset_color%}%% "
  12.  
  13. # https://unix.stackexchange.com/a/30169/219914
  14. bindkey -v
  15. bindkey '^R' history-incremental-search-backward
  16.  
  17. # jenv
  18. export PATH="$HOME/.jenv/bin:$PATH"
  19. eval "$(jenv init -)"
  20. # https://stackoverflow.com/a/36238219/4110233
  21.  
  22. export PATH="/usr/local/opt/mysql-client/bin:$PATH"
  23. alias chrome="open -a 'Google Chrome'"
  24. alias j8="jenv global zulu64-1.8.0.312"
  25. alias j11="jenv global openjdk64-11.0.12"
  26. j8
  27.  
  28. alias ipython='ipython --TerminalInteractiveShell.editing_mode=vi --no-autoindent'
  29.  
Advertisement
Add Comment
Please, Sign In to add comment