mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
208 lines
5.4 KiB
Bash
208 lines
5.4 KiB
Bash
# ezzsh - zshrc
|
||
|
||
# path to your zsh configuration.
|
||
ZSH="$HOME/.zsh"
|
||
|
||
# export ZSH_THEME="random"
|
||
# export ZSH_THEME="ezzsh" # name of zsh theme
|
||
# export ZSH_THEME="powerline" # name of zsh theme
|
||
export ZSH_THEME="powerline-with-hostname" # name of zsh theme
|
||
|
||
# Set this to true to use case-sensitive completion
|
||
CASE_SENSITIVE="false" # bool
|
||
|
||
# Comment this out to disable weekly auto-update checks
|
||
DISABLE_AUTO_UPDATE="true" # bool
|
||
|
||
# Uncomment following line if you want to disable colors in ls
|
||
DISABLE_LS_COLORS="false" # bool
|
||
|
||
# Uncomment following line if you want to disable autosetting terminal title.
|
||
DISABLE_AUTO_TITLE="false" # bool
|
||
|
||
# Uncomment following line if you want disable red dots displayed while waiting for completion
|
||
DISABLE_COMPLETION_WAITING_DOTS="false" # bool
|
||
|
||
# plugins to load (array)
|
||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||
plugins=(git)
|
||
|
||
|
||
# Customize to your needs...
|
||
source $ZSH/zsh
|
||
|
||
# workaround for broken xfce4 terminal to force $TERM:
|
||
if [[ "$COLORTERM" == "xfce4-terminal" ]]; then
|
||
export TERM="xterm-256color"
|
||
fi
|
||
|
||
# workaround for rxvt
|
||
if [[ "$COLORTERM" == "rxvt-xpm" ]]; then
|
||
export TERM="rxvt-unicode-256color"
|
||
fi
|
||
|
||
# set $OS_TYPE
|
||
export OS_TYPE="$(uname)"
|
||
|
||
# $ZSH - Path to your zsh installation.
|
||
export ZSH=$HOME/.zsh/
|
||
|
||
export PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH
|
||
|
||
# set $EDITOR
|
||
export EDITOR='vim'
|
||
|
||
### colors in man pages :)
|
||
### ::: man pages: basic coloring :::
|
||
# export LESS_TERMCAP_mb=$'\E[01;31m'
|
||
# export LESS_TERMCAP_md=$'\E[01;33m'
|
||
export LESS_TERMCAP_me=$'\E[0m'
|
||
export LESS_TERMCAP_se=$'\E[0m'
|
||
# export LESS_TERMCAP_so=$'\E[01;44;33m'
|
||
export LESS_TERMCAP_ue=$'\E[0m'
|
||
# export LESS_TERMCAP_us=$'\E[01;32m'
|
||
### ::: man pages (more beautiful 256 coloring) :::
|
||