Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.8 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. eval "$(direnv hook zsh)" >> /tmp/direnv
  2. # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
  3. # Initialization code that may require console input (password prompts, [y/n]
  4. # confirmations, etc.) must go above this block; everything else may go below.
  5. if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
  6. source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
  7. fi
  8. export TERM=xterm-256color
  9. # Created by kuro for 5.8
  10. source <(antibody init)
  11. export GOPATH=$HOME/go
  12. export PATH="$PATH:/home/yigit/.scripts:/home/yigit/.gem/ruby/2.7.0/bin:$GOPATH/bin:$GOPATH/binexport:/home/yigit/.local/bin"
  13. HISTFILE=~/.zsh_history
  14. HISTSIZE=10000
  15. SAVEHIST=10000
  16. setopt appendhistory
  17. #Autocompletion
  18. autoload -Uz compinit
  19. compinit
  20. antibody bundle < ~/.config/antibody/zsh_plugins.txt
  21. [[ ! -f ~/.config/antibody/p10k.zsh ]] || source ~/.config/antibody/p10k.zsh
  22. bindkey "^[[H" beginning-of-line
  23. bindkey "^[[F" end-of-line
  24. bindkey "^[[3~" delete-char
  25. bindkey "^[[1;5C" forward-word
  26. bindkey "^[[1;5D" backward-word
  27. fpath=(~/.completions $fpath)
  28. autoload -Uz compinit && compinit
  29. source ~/.aliases
  30. source ~/.zsh_secret
  31. source ~/.cmds
  32. export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241'
  33. export BROWSER=firefox-developer-edition
  34. export EDITOR=vim
  35. # added by travis gem
  36. [ ! -s /home/yigit/.travis/travis.sh ] || source /home/yigit/.travis/travis.sh
  37. export ANDROID_HOME=~/Android/Sdk
  38. export FLUTTER_HOME=~/flutter
  39. export TMUX_PLUGIN_MANAGER_PATH=~/.tmux/plugins
  40. export PATH=$PATH:$ANDROID_HOME/tools
  41. export PATH=$PATH:$ANDROID_HOME/platform-tools
  42. export PATH=$PATH:$FLUTTER_HOME/bin
  43. export BORG_KEYS_DIR=~/.keys/borg
  44. [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
  45. #zle-line-init() { zle -K vicmd; }
  46. #zle -N zle-line-init