mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Fixed customizations for mac and linux environments.
This commit is contained in:
parent
bc1e35d3b5
commit
ba136bb773
2 changed files with 49 additions and 5 deletions
43
templates/zshrc-linux.zsh
Normal file
43
templates/zshrc-linux.zsh
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Path to your oh-my-zsh configuration.
|
||||
ZSH=$HOME/.oh-my-zsh
|
||||
|
||||
# Set name of the theme to load.
|
||||
# Look in ~/.oh-my-zsh/themes/
|
||||
# Optionally, if you set this to "random", it'll load a random theme each
|
||||
# time that oh-my-zsh is loaded.
|
||||
ZSH_THEME="mh"
|
||||
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Set to this to use case-sensitive completion
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Comment this out to disable weekly auto-update checks
|
||||
DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment following line if you want to disable colors in ls
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment following line if you want to disable autosetting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Virtualenvwrapper plugin - Disable directory name discovery
|
||||
DISABLE_VENV_CD="true"
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
plugins=(git ssh-agent debian python pythonbrew vim-override virtualenvwrapper)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
# source `which virtualenvwrapper.sh`
|
||||
|
||||
# Customize to your needs...
|
||||
|
||||
if [ -e $HOME/bin ]; then export PATH="$HOME/bin:$PATH"; fi
|
||||
unsetopt correctall
|
||||
|
|
@ -24,15 +24,18 @@ DISABLE_AUTO_UPDATE="true"
|
|||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Virtualenvwrapper plugin - Disable directory name discovery
|
||||
DISABLE_VENV_CD="true"
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
plugins=(git python pythonbrew vim-override)
|
||||
plugins=(git ssh-agent python pythonbrew vim-override virtualenvwrapper)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
source `which virtualenvwrapper.sh`
|
||||
# source `which virtualenvwrapper.sh`
|
||||
|
||||
# Customize to your needs...
|
||||
if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi
|
||||
|
|
@ -40,5 +43,3 @@ if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi
|
|||
|
||||
if [ -e $HOME/bin ]; then export PATH="$HOME/bin:$PATH"; fi
|
||||
unsetopt correctall
|
||||
|
||||
# Themes override ls alias from aliases.zsh
|
||||
Loading…
Add table
Add a link
Reference in a new issue