61 lines
1.3 KiB
Bash
61 lines
1.3 KiB
Bash
# Term
|
|
export TERM="xterm-256color"
|
|
|
|
# Ruta de oh-my-zsh
|
|
export ZSH=/home/drymer/.oh-my-zsh
|
|
|
|
# Funciónes para custom_exec_time
|
|
source ~/.oh-my-zsh/custom/themes/custom.zsh
|
|
|
|
# Tema a elegir: usa uno simple si me conecto por ssh
|
|
if [[ -n $SSH_CLIENT ]];
|
|
then
|
|
ZSH_THEME="alanpeabody"
|
|
else
|
|
POWERLEVEL9K_MODE='awesome-fontconfig'
|
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(time context dir virtualenv vcs)
|
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(custom_exec_time status background_jobs root_indicator)
|
|
POWERLEVEL9K_PYTHON_ICON=""
|
|
ZSH_THEME="powerlevel9k/powerlevel9k"
|
|
fi
|
|
|
|
|
|
# No comprobar si hay actualizaciones
|
|
DISABLE_AUTO_UPDATE="true"
|
|
|
|
# Corregir
|
|
ENABLE_CORRECTION="true"
|
|
|
|
# Mostrar puntos rojos mientras se espera el completado
|
|
COMPLETION_WAITING_DOTS="true"
|
|
|
|
# Formato de tiempo
|
|
HIST_STAMPS="dd/mm/yyyy"
|
|
|
|
# Plugins
|
|
plugins=(git colored-man-pages sprunge autojump)
|
|
|
|
# User configuration
|
|
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/sbin:/sbin:/usr/local/bin"
|
|
export MANPATH="/usr/local/man:$MANPATH"
|
|
|
|
# Usar oh-my-zsh
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
# Lenguaje
|
|
export LANG=es_US.UTF-8
|
|
|
|
# Editor preferido
|
|
export EDITOR="emacsclient -t -c"
|
|
export ALTERNATE_EDITOR="nano"
|
|
|
|
# Alias
|
|
source ~/.aliases
|
|
|
|
# Python
|
|
export WORKON_HOME=~/.virtualenvs
|
|
mkdir -p $WORKON_HOME
|
|
|
|
# Privado
|
|
source ~/.sh_privado
|