2016-06-17 03:14:51 +08:00
|
|
|
# If you come from bash you might have to change your $PATH.
|
2024-05-17 04:13:36 +08:00
|
|
|
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
2016-06-17 03:14:51 +08:00
|
|
|
|
2024-06-15 23:39:32 +08:00
|
|
|
# Path to your Oh My Zsh installation.
|
2011-10-05 11:57:48 +08:00
|
|
|
export ZSH=$HOME/.oh-my-zsh
|
2009-08-29 02:14:17 +08:00
|
|
|
|
2018-08-30 02:50:52 +08:00
|
|
|
# Set name of the theme to load --- if set to "random", it will
|
2024-06-15 23:39:32 +08:00
|
|
|
# load a random theme each time Oh My Zsh is loaded, in which case,
|
2018-08-30 02:50:52 +08:00
|
|
|
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
2019-11-21 09:26:18 +08:00
|
|
|
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
2010-12-02 01:07:28 +08:00
|
|
|
ZSH_THEME="robbyrussell"
|
2009-08-31 22:45:31 +08:00
|
|
|
|
2018-08-30 02:50:52 +08:00
|
|
|
# Set list of themes to pick from when loading at random
|
|
|
|
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
2020-05-23 23:22:09 +08:00
|
|
|
# a theme from this variable instead of looking in $ZSH/themes/
|
2018-08-30 02:50:52 +08:00
|
|
|
# If set to an empty array, this variable will have no effect.
|
2015-12-01 13:03:00 +08:00
|
|
|
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
2015-12-01 12:50:55 +08:00
|
|
|
|
2014-03-24 22:24:04 +08:00
|
|
|
# Uncomment the following line to use case-sensitive completion.
|
2010-12-02 01:07:28 +08:00
|
|
|
# CASE_SENSITIVE="true"
|
2009-10-08 04:01:52 +08:00
|
|
|
|
2018-08-30 02:50:52 +08:00
|
|
|
# Uncomment the following line to use hyphen-insensitive completion.
|
|
|
|
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
2015-05-02 06:10:45 +08:00
|
|
|
# HYPHEN_INSENSITIVE="true"
|
|
|
|
|
2021-10-06 16:04:30 +08:00
|
|
|
# Uncomment one of the following lines to change the auto-update behavior
|
2021-09-30 23:20:22 +08:00
|
|
|
# zstyle ':omz:update' mode disabled # disable automatic updates
|
|
|
|
# zstyle ':omz:update' mode auto # update automatically without asking
|
2021-09-30 23:22:04 +08:00
|
|
|
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
|
2017-02-18 18:31:36 +08:00
|
|
|
|
2014-03-24 22:24:04 +08:00
|
|
|
# Uncomment the following line to change how often to auto-update (in days).
|
2021-09-30 23:20:22 +08:00
|
|
|
# zstyle ':omz:update' frequency 13
|
2012-11-27 03:35:16 +08:00
|
|
|
|
2019-05-11 19:42:38 +08:00
|
|
|
# Uncomment the following line if pasting URLs and other text is messed up.
|
2020-07-06 23:12:00 +08:00
|
|
|
# DISABLE_MAGIC_FUNCTIONS="true"
|
2019-05-11 19:42:38 +08:00
|
|
|
|
2014-03-24 22:24:04 +08:00
|
|
|
# Uncomment the following line to disable colors in ls.
|
2010-12-02 01:07:28 +08:00
|
|
|
# DISABLE_LS_COLORS="true"
|
2009-09-24 08:12:19 +08:00
|
|
|
|
2014-03-24 22:24:04 +08:00
|
|
|
# Uncomment the following line to disable auto-setting terminal title.
|
2010-12-02 01:07:28 +08:00
|
|
|
# DISABLE_AUTO_TITLE="true"
|
2011-03-24 12:20:08 +08:00
|
|
|
|
2014-04-09 18:32:42 +08:00
|
|
|
# Uncomment the following line to enable command auto-correction.
|
|
|
|
# ENABLE_CORRECTION="true"
|
2012-07-28 06:25:15 +08:00
|
|
|
|
2014-03-24 22:24:04 +08:00
|
|
|
# Uncomment the following line to display red dots whilst waiting for completion.
|
2020-11-05 18:40:45 +08:00
|
|
|
# You can also set it to another string to have that shown instead of the default red dots.
|
|
|
|
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
|
|
|
|
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
|
2011-08-31 11:56:13 +08:00
|
|
|
# COMPLETION_WAITING_DOTS="true"
|
2011-07-24 05:34:02 +08:00
|
|
|
|
2014-03-24 22:24:04 +08:00
|
|
|
# Uncomment the following line if you want to disable marking untracked files
|
|
|
|
# under VCS as dirty. This makes repository status check for large repositories
|
|
|
|
# much, much faster.
|
2013-04-22 16:59:08 +08:00
|
|
|
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
|
|
|
2014-03-24 22:24:04 +08:00
|
|
|
# Uncomment the following line if you want to change the command execution time
|
|
|
|
# stamp shown in the history command output.
|
2018-07-13 19:14:15 +08:00
|
|
|
# You can set one of the optional three formats:
|
|
|
|
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
|
|
|
# or set a custom format using the strftime function format specifications,
|
|
|
|
# see 'man strftime' for details.
|
2013-06-30 20:46:10 +08:00
|
|
|
# HIST_STAMPS="mm/dd/yyyy"
|
|
|
|
|
2014-03-23 21:45:55 +08:00
|
|
|
# Would you like to use another custom folder than $ZSH/custom?
|
|
|
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
|
|
|
|
2018-08-30 02:50:52 +08:00
|
|
|
# Which plugins would you like to load?
|
2020-05-23 23:22:09 +08:00
|
|
|
# Standard plugins can be found in $ZSH/plugins/
|
|
|
|
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
2010-06-04 03:05:12 +08:00
|
|
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
2013-12-21 23:21:34 +08:00
|
|
|
# Add wisely, as too many plugins slow down shell startup.
|
2019-01-21 03:31:23 +08:00
|
|
|
plugins=(git)
|
2010-06-04 03:05:12 +08:00
|
|
|
|
2016-06-17 03:14:51 +08:00
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
2012-04-24 05:03:26 +08:00
|
|
|
# User configuration
|
|
|
|
|
|
|
|
# export MANPATH="/usr/local/man:$MANPATH"
|
|
|
|
|
2014-03-23 21:39:38 +08:00
|
|
|
# You may need to manually set your language environment
|
|
|
|
# export LANG=en_US.UTF-8
|
|
|
|
|
2014-03-24 22:24:04 +08:00
|
|
|
# Preferred editor for local and remote sessions
|
2012-04-24 05:03:26 +08:00
|
|
|
# if [[ -n $SSH_CONNECTION ]]; then
|
|
|
|
# export EDITOR='vim'
|
|
|
|
# else
|
|
|
|
# export EDITOR='mvim'
|
|
|
|
# fi
|
|
|
|
|
|
|
|
# Compilation flags
|
|
|
|
# export ARCHFLAGS="-arch x86_64"
|
|
|
|
|
2024-06-15 23:39:32 +08:00
|
|
|
# Set personal aliases, overriding those provided by Oh My Zsh libs,
|
|
|
|
# plugins, and themes. Aliases can be placed here, though Oh My Zsh
|
|
|
|
# users are encouraged to define aliases within a top-level file in
|
|
|
|
# the $ZSH_CUSTOM folder, with .zsh extension. Examples:
|
|
|
|
# - $ZSH_CUSTOM/aliases.zsh
|
|
|
|
# - $ZSH_CUSTOM/macos.zsh
|
2014-05-16 23:46:48 +08:00
|
|
|
# For a full list of active aliases, run `alias`.
|
|
|
|
#
|
|
|
|
# Example aliases
|
|
|
|
# alias zshconfig="mate ~/.zshrc"
|
|
|
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|