my xfce4 dotfiles
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.

120 lines
4.4 KiB

3 years ago
  1. # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
  2. # Initialization code that may require console input (password prompts, [y/n]
  3. # confirmations, etc.) must go above this block; everything else may go below.
  4. if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
  5. source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
  6. fi
  7. # If you come from bash you might have to change your $PATH.
  8. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  9. # Path to your oh-my-zsh installation.
  10. export ZSH="$HOME/.oh-my-zsh"
  11. # Set name of the theme to load --- if set to "random", it will
  12. # load a random theme each time oh-my-zsh is loaded, in which case,
  13. # to know which specific one was loaded, run: echo $RANDOM_THEME
  14. # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
  15. ZSH_THEME="powerlevel10k/powerlevel10k"
  16. # aliases
  17. alias neofetch="neofetch --ascii_distro linuxfromscratch"
  18. # suffix aliases
  19. alias -s md=typora
  20. # Set list of themes to pick from when loading at random
  21. # Setting this variable when ZSH_THEME=random will cause zsh to load
  22. # a theme from this variable instead of looking in $ZSH/themes/
  23. # If set to an empty array, this vahriable will have no effect.
  24. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  25. # Uncomment the following line to use case-sensitive completion.
  26. # CASE_SENSITIVE="true"
  27. # Uncomment the following line to use hyphen-insensitive completion.
  28. # Case-sensitive completion must be off. _ and - will be interchangeable.
  29. # HYPHEN_INSENSITIVE="true"
  30. # Uncomment one of the following lines to change the auto-update behavior
  31. # zstyle ':omz:update' mode disabled # disable automatic updates
  32. # zstyle ':omz:update' mode auto # update automatically without asking
  33. # zstyle ':omz:update' mode reminder # just remind me to update when it's time
  34. # Uncomment the following line to change how often to auto-update (in days).
  35. # zstyle ':omz:update' frequency 13
  36. # Uncomment the following line if pasting URLs and other text is messed up.
  37. # DISABLE_MAGIC_FUNCTIONS="true"
  38. # Uncomment the following line to disable colors in ls.
  39. # DISABLE_LS_COLORS="true"
  40. # Uncomment the following line to disable auto-setting terminal title.
  41. # DISABLE_AUTO_TITLE="true"
  42. # Uncomment the following line to enable command auto-correction.
  43. # ENABLE_CORRECTION="true"
  44. # Uncomment the following line to display red dots whilst waiting for completion.
  45. # You can also set it to another string to have that shown instead of the default red dots.
  46. # e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
  47. # Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
  48. # COMPLETION_WAITING_DOTS="true"
  49. # Uncomment the following line if you want to disable marking untracked files
  50. # under VCS as dirty. This makes repository status check for large repositories
  51. # much, much faster.
  52. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  53. # Uncomment the following line if you want to change the command execution time
  54. # stamp shown in the history command output.
  55. # You can set one of the optional three formats:
  56. # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  57. # or set a custom format using the strftime function format specifications,
  58. # see 'man strftime' for details.
  59. # HIST_STAMPS="mm/dd/yyyy"
  60. # Would you like to use another custom folder than $ZSH/custom?
  61. # ZSH_CUSTOM=/path/to/new-custom-folder
  62. # Which plugins would you like to load?
  63. # Standard plugins can be found in $ZSH/plugins/
  64. # Custom plugins may be added to $ZSH_CUSTOM/plugins/
  65. # Example format: plugins=(rails git textmate ruby lighthouse)
  66. # Add wisely, as too many plugins slow down shell startup.
  67. plugins=(git)
  68. source $ZSH/oh-my-zsh.sh
  69. # User configuration
  70. # export MANPATH="/usr/local/man:$MANPATH"
  71. # You may need to manually set your language environment
  72. # export LANG=en_US.UTF-8
  73. # Preferred editor for local and remote sessions
  74. # if [[ -n $SSH_CONNECTION ]]; then
  75. # export EDITOR='vim'
  76. # else
  77. # export EDITOR='mvim'
  78. # fi
  79. # Compilation flags
  80. # export ARCHFLAGS="-arch x86_64"
  81. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  82. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  83. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  84. # For a full list of active aliases, run `alias`.
  85. #
  86. # Example aliases
  87. # alias zshconfig="mate ~/.zshrc"
  88. # alias ohmyzsh="mate ~/.oh-my-zsh"
  89. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
  90. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
  91. [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh