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.

68 lines
1.9 KiB

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