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.

71 lines
2.0 KiB

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