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.

60 lines
1.7 KiB

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