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
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 QT_QPA_PLATFORMTHEME="qt6ct"
  13. export GOPATH=$HOME/go
  14. export _JAVA_AWT_WM_NONREPARENTING=1
  15. export AWT_TOOLKIT=MToolkit
  16. export SHELL=zsh
  17. export TERMINAL=st
  18. export ANDROID_HOME=~/Android/Sdk
  19. export FLUTTER_HOME=~/flutter
  20. export TMUX_PLUGIN_MANAGER_PATH=~/.tmux/plugins
  21. export BORG_KEYS_DIR=~/.keys/borg
  22. export BROWSER=~/.scripts/tabbed_surf
  23. export EDITOR=vim
  24. # Setup PATH
  25. export PATH="~/.scripts/:~/.local/bin/:$PATH"
  26. export PATH=$PATH:$ANDROID_HOME/tools
  27. export PATH=$PATH:$ANDROID_HOME/platform-tools
  28. export PATH=$PATH:$FLUTTER_HOME/bin
  29. export PATH="$PATH:/home/yigit/.scripts:/home/yigit/.gem/ruby/2.7.0/bin:$GOPATH/bin:$GOPATH/binexport:/home/yigit/.local/bin"
  30. HISTFILE=~/.zsh_history
  31. HISTSIZE=10000
  32. SAVEHIST=10000
  33. setopt appendhistory
  34. #Autocompletion
  35. autoload -Uz compinit
  36. compinit
  37. antibody bundle < ~/.config/antibody/zsh_plugins.txt
  38. [[ ! -f ~/.config/antibody/p10k.zsh ]] || source ~/.config/antibody/p10k.zsh
  39. bindkey "^[[H" beginning-of-line
  40. bindkey "^[[F" end-of-line
  41. bindkey "^[[3~" delete-char
  42. bindkey "^[[1;5C" forward-word
  43. bindkey "^[[1;5D" backward-word
  44. fpath=(~/.completions $fpath)
  45. autoload -Uz compinit && compinit
  46. source ~/.aliases
  47. source ~/.zsh_secret
  48. source ~/.cmds
  49. export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241'
  50. export KEYTIMEOUT=5
  51. # added by travis gem
  52. [ ! -s /home/yigit/.travis/travis.sh ] || source /home/yigit/.travis/travis.sh
  53. [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
  54. #zle-line-init() { zle -K vicmd; }
  55. #zle -N zle-line-init