Advertisement
metalni

zshrc

Nov 9th, 2022
1,043
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.23 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/ohmyzsh/ohmyzsh/wiki/Themes
  11. #ZSH_THEME="powerlevel9k/powerlevel9k"
  12. #ZSH_THEME="gnzh"
  13. eval "$(starship init zsh)"
  14. # Set list of themes to pick from when loading at random
  15. # Setting this variable when ZSH_THEME=random will cause zsh to load
  16. # a theme from this variable instead of looking in $ZSH/themes/
  17. # If set to an empty array, this variable will have no effect.
  18. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  19.  
  20. # Uncomment the following line to use case-sensitive completion.
  21. # CASE_SENSITIVE="true"
  22.  
  23. # Uncomment the following line to use hyphen-insensitive completion.
  24. # Case-sensitive completion must be off. _ and - will be interchangeable.
  25. # HYPHEN_INSENSITIVE="true"
  26.  
  27. # Uncomment one of the following lines to change the auto-update behavior
  28. # zstyle ':omz:update' mode disabled  # disable automatic updates
  29. # zstyle ':omz:update' mode auto      # update automatically without asking
  30. # zstyle ':omz:update' mode reminder  # just remind me to update when it's time
  31.  
  32. # Uncomment the following line to change how often to auto-update (in days).
  33. # zstyle ':omz:update' frequency 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. # You can also set it to another string to have that shown instead of the default red dots.
  49. # e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
  50. # Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
  51. # COMPLETION_WAITING_DOTS="true"
  52.  
  53. # Uncomment the following line if you want to disable marking untracked files
  54. # under VCS as dirty. This makes repository status check for large repositories
  55. # much, much faster.
  56. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  57.  
  58. # Uncomment the following line if you want to change the command execution time
  59. # stamp shown in the history command output.
  60. # You can set one of the optional three formats:
  61. # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  62. # or set a custom format using the strftime function format specifications,
  63. # see 'man strftime' for details.
  64. # HIST_STAMPS="mm/dd/yyyy"
  65.  
  66. # Would you like to use another custom folder than $ZSH/custom?
  67. # ZSH_CUSTOM=/path/to/new-custom-folder
  68.  
  69. # Which plugins would you like to load?
  70. # Standard plugins can be found in $ZSH/plugins/
  71. # Custom plugins may be added to $ZSH_CUSTOM/plugins/
  72. # Example format: plugins=(rails git textmate ruby lighthouse)
  73. # Add wisely, as too many plugins slow down shell startup.
  74. plugins=(
  75.     git
  76. )
  77.  
  78. source $ZSH/oh-my-zsh.sh
  79.  
  80. # User configuration
  81.  
  82. # export MANPATH="/usr/local/man:$MANPATH"
  83.  
  84. # You may need to manually set your language environment
  85. # export LANG=en_US.UTF-8
  86.  
  87. # Preferred editor for local and remote sessions
  88. # if [[ -n $SSH_CONNECTION ]]; then
  89. #   export EDITOR='vim'
  90. # else
  91. #   export EDITOR='mvim'
  92. # fi
  93.  
  94. # Compilation flags
  95. # export ARCHFLAGS="-arch x86_64"
  96.  
  97. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  98. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  99. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  100. # For a full list of active aliases, run `alias`.
  101. #
  102. # Example aliases
  103. # alias zshconfig="mate ~/.zshrc"
  104. # alias ohmyzsh="mate ~/.oh-my-zsh"
  105.  
  106.  
  107. #CUSTOM
  108. POWERLEVEL9K_DISABLE_RPROMPT=true
  109. POWERLEVEL9K_PROMPT_ON_NEWLINE=true
  110. POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="▶  "
  111. POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
  112.  
  113. # AUTOCOMPLETION PLUGIN
  114. source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
  115. bindkey '^ ' autosuggest-accept
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement