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.

66 lines
1.8 KiB

4 years ago
4 years ago
4 years ago
  1. if [ "$TMUX" = "" ]; then tmux; fi
  2. ~/.scripts/welcome.sh
  3. eval "$(direnv hook zsh)" >> /tmp/direnv
  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. export TERM=xterm-256color
  11. # Created by kuro for 5.8
  12. source <(antibody init)
  13. export GOPATH=$HOME/go
  14. export PATH="$PATH:/home/yigit/.gem/ruby/2.7.0/bin:$GOPATH/bin:$GOPATH/binexport:/home/yigit/.local/bin"
  15. alias yain="yay -Syu "
  16. alias ls="ls --color"
  17. HISTFILE=~/.zsh_history
  18. HISTSIZE=10000
  19. SAVEHIST=10000
  20. setopt appendhistory
  21. #Autocompletion
  22. autoload -Uz compinit
  23. compinit
  24. antibody bundle < ~/.config/antibody/zsh_plugins.txt
  25. [[ ! -f ~/.config/antibody/p10k.zsh ]] || source ~/.config/antibody/p10k.zsh
  26. bindkey "^[[H" beginning-of-line
  27. bindkey "^[[F" end-of-line
  28. bindkey "^[[3~" delete-char
  29. bindkey "^[[1;5C" forward-word
  30. bindkey "^[[1;5D" backward-word
  31. fpath=(~/.completion $fpath)
  32. source ~/.cmds
  33. export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241'
  34. export BROWSER=firefox-developer-edition
  35. export EDITOR=vim
  36. alias t="TERM=screen-256color-bce tmux"
  37. alias tn="TERM=screen-256color-bce tmux new -s "
  38. alias ta="TERM=screen-256color-bce tmux a "
  39. # added by travis gem
  40. [ ! -s /home/yigit/.travis/travis.sh ] || source /home/yigit/.travis/travis.sh
  41. export ANDROID_HOME=~/Android/Sdk
  42. export FLUTTER_HOME=~/flutter
  43. export PATH=$PATH:$ANDROID_HOME/tools
  44. export PATH=$PATH:$ANDROID_HOME/platform-tools
  45. export PATH=$PATH:$FLUTTER_HOME/bin
  46. export BORG_KEYS_DIR=~/.keys/borg
  47. [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
  48. #zle-line-init() { zle -K vicmd; }
  49. #zle -N zle-line-init