Advertisement
Guest User

.zshrc

a guest
Sep 24th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.42 KB | None | 0 0
  1. # If you come from bash you might have to change your $PATH.
  2. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  3.  
  4. # Path to your oh-my-zsh installation.
  5. export ZSH=$HOME/.oh-my-zsh
  6.  
  7. # Set name of the theme to load --- if set to "random", it will
  8. # load a random theme each time oh-my-zsh is loaded, in which case,
  9. # to know which specific one was loaded, run: echo $RANDOM_THEME
  10. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  11. ZSH_THEME="powerlevel10k/powerlevel10k"
  12.  
  13. # Set list of themes to pick from when loading at random
  14. # Setting this variable when ZSH_THEME=random will cause zsh to load
  15. # a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
  16. # If set to an empty array, this variable will have no effect.
  17. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  18.  
  19. # Uncomment the following line to use case-sensitive completion.
  20. # CASE_SENSITIVE="true"
  21.  
  22. # Uncomment the following line to use hyphen-insensitive completion.
  23. # Case-sensitive completion must be off. _ and - will be interchangeable.
  24. # HYPHEN_INSENSITIVE="true"
  25.  
  26. # Uncomment the following line to disable bi-weekly auto-update checks.
  27. # DISABLE_AUTO_UPDATE="true"
  28.  
  29. # Uncomment the following line to automatically update without prompting.
  30. # DISABLE_UPDATE_PROMPT="true"
  31.  
  32. # Uncomment the following line to change how often to auto-update (in days).
  33. # export UPDATE_ZSH_DAYS=13
  34.  
  35. # Uncomment the following line if pasting URLs and other text is messed up.
  36. # DISABLE_MAGIC_FUNCTIONS=true
  37.  
  38. # Uncomment the following line to disable colors in ls.
  39. # DISABLE_LS_COLORS="true"
  40.  
  41. # Uncomment the following line to disable auto-setting terminal title.
  42. # DISABLE_AUTO_TITLE="true"
  43.  
  44. # Uncomment the following line to enable command auto-correction.
  45. # ENABLE_CORRECTION="true"
  46.  
  47. # Uncomment the following line to display red dots whilst waiting for completion.
  48. # COMPLETION_WAITING_DOTS="true"
  49.  
  50. # Uncomment the following line if you want to disable marking untracked files
  51. # under VCS as dirty. This makes repository status check for large repositories
  52. # much, much faster.
  53. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  54.  
  55. # Uncomment the following line if you want to change the command execution time
  56. # stamp shown in the history command output.
  57. # You can set one of the optional three formats:
  58. # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  59. # or set a custom format using the strftime function format specifications,
  60. # see 'man strftime' for details.
  61. # HIST_STAMPS="mm/dd/yyyy"
  62.  
  63. # Would you like to use another custom folder than $ZSH/custom?
  64. # ZSH_CUSTOM=/path/to/new-custom-folder
  65.  
  66. # Which plugins would you like to load?
  67. # Standard plugins can be found in ~/.oh-my-zsh/plugins/*
  68. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  69. # Example format: plugins=(rails git textmate ruby lighthouse)
  70. # Add wisely, as too many plugins slow down shell startup.
  71. plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
  72.  
  73. source $ZSH/oh-my-zsh.sh
  74.  
  75. # User configuration
  76.  
  77. # export MANPATH="/usr/local/man:$MANPATH"
  78.  
  79. # You may need to manually set your language environment
  80. # export LANG=en_US.UTF-8
  81.  
  82. # Preferred editor for local and remote sessions
  83. # if [[ -n $SSH_CONNECTION ]]; then
  84. #   export EDITOR='vim'
  85. # else
  86. #   export EDITOR='mvim'
  87. # fi
  88.  
  89. # Compilation flags
  90. # export ARCHFLAGS="-arch x86_64"
  91.  
  92. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  93. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  94. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  95. # For a full list of active aliases, run `alias`.
  96. #
  97. # Example aliases
  98. # alias zshconfig="mate ~/.zshrc"
  99. # alias ohmyzsh="mate ~/.oh-my-zsh"
  100. alias sdup="sudo pacman -Syyuu"
  101. alias sdi="sudo pacman -S"
  102. alias sdr="sudo pacman -Rsn"
  103. alias sdc="sudo pacman -Sccc"
  104. alias sdn="sudo nano"
  105. alias sdf="neofetch"
  106. alias tela="scrcpy"
  107.  
  108.  
  109. POWERLEVEL9K_MODE='nerdfont-complete'
  110. #POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
  111. #POWERLEVEL9K_SHORTEN_DELIMITER=""
  112. #POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right"
  113. # POWERLEVEL9K_PROMPT_ON_NEWLINE=true
  114. POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR=''
  115. POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR=''
  116. POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR=''
  117. POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR=''
  118. POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(root_indicator dir dir_writable_joined)
  119. POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(command_execution_time)
  120. POWERLEVEL9K_VCS_MODIFIED_BACKGROUND="clear"
  121. POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND="clear"
  122. POWERLEVEL9K_VCS_MODIFIED_FOREGROUND="yellow"
  123. POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND="yellow"
  124. POWERLEVEL9K_DIR_HOME_BACKGROUND="clear"
  125. POWERLEVEL9K_DIR_HOME_FOREGROUND="white"
  126. POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND="clear"
  127. POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="white"
  128. POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_BACKGROUND="clear"
  129. POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_FOREGROUND="red"
  130. POWERLEVEL9K_DIR_DEFAULT_BACKGROUND="clear"
  131. POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="white"
  132. POWERLEVEL9K_ROOT_INDICATOR_BACKGROUND="red"
  133. POWERLEVEL9K_ROOT_INDICATOR_FOREGROUND="white"
  134. POWERLEVEL9K_STATUS_OK_BACKGROUND="clear"
  135. POWERLEVEL9K_STATUS_OK_FOREGROUND="green"
  136. POWERLEVEL9K_STATUS_ERROR_BACKGROUND="clear"
  137. POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red"
  138. POWERLEVEL9K_TIME_BACKGROUND="clear"
  139. POWERLEVEL9K_TIME_FOREGROUND="cyan"
  140. POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND='clear'
  141. POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND='magenta'
  142. POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND='clear'
  143. POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND='green'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement