.zshrc (3848B)
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="mh" 12 13 # Set list of themes to pick from when loading at random 14 # Setting this variable when ZSH_THEME="archcraft" 15 # a theme from this variable instead of looking in $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 $ZSH/plugins/ 68 # Custom plugins may be added to $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) 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 # omz 101 alias zshconfig="geany ~/.zshrc" 102 alias ohmyzsh="thunar ~/.oh-my-zsh" 103 104 # ls 105 alias l='ls -lh' 106 alias ll='ls -lah' 107 alias la='ls -A' 108 alias lm='ls -m' 109 alias lr='ls -R' 110 alias lg='ls -l --group-directories-first' 111 112 # git 113 alias gcl='git clone --depth 1' 114 alias gi='git init' 115 alias ga='git add' 116 alias gc='git commit -m' 117 alias gp='git push origin master'