Update zshrc
This commit is contained in:
parent
5290928b32
commit
e4d7ce2a1d
|
@ -5,15 +5,14 @@ export TERM="xterm-256color"
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
|
|
||||||
POWERLEVEL9K_MODE='awesome-fontconfig'
|
POWERLEVEL9K_MODE='awesome-fontconfig'
|
||||||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(battery time context dir virtualenv vcs)
|
|
||||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(custom_exec_time status background_jobs kubectl_context)
|
|
||||||
POWERLEVEL9K_PYTHON_ICON=""
|
|
||||||
ZSH_THEME="powerlevel9k/powerlevel9k"
|
ZSH_THEME="powerlevel9k/powerlevel9k"
|
||||||
|
POWERLEVEL9K_PYTHON_ICON=""
|
||||||
POWERLEVEL9K_BATTERY_ICON='\uf1e6 '
|
POWERLEVEL9K_BATTERY_ICON='\uf1e6 '
|
||||||
# Acortar a partir de un directorio
|
|
||||||
POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
|
POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
|
||||||
# Acortar path que se muestra en el prompt
|
|
||||||
POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique
|
POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique
|
||||||
|
POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER=false
|
||||||
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(battery time dir virtualenv vcs)
|
||||||
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(custom_exec_time status background_jobs aws kubectl_context)
|
||||||
|
|
||||||
# No comprobar si hay actualizaciones
|
# No comprobar si hay actualizaciones
|
||||||
DISABLE_AUTO_UPDATE="true"
|
DISABLE_AUTO_UPDATE="true"
|
||||||
|
@ -28,7 +27,7 @@ COMPLETION_WAITING_DOTS="true"
|
||||||
HIST_STAMPS="dd/mm/yyyy"
|
HIST_STAMPS="dd/mm/yyyy"
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
plugins=(git colored-man-pages sprunge pip ssh-agent aws gitfast kube alias-tips)
|
plugins=(git colored-man-pages sprunge pip ssh-agent aws gitfast kube alias-tips copyfile jira)
|
||||||
|
|
||||||
# Path
|
# Path
|
||||||
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/sbin:/sbin:/usr/local/bin:$HOME/Scripts/bin/:/opt/go/bin"
|
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/sbin:/sbin:/usr/local/bin:$HOME/Scripts/bin/:/opt/go/bin"
|
||||||
|
@ -44,7 +43,7 @@ export LC_ALL=es_ES.UTF-8
|
||||||
|
|
||||||
# Editor preferido
|
# Editor preferido
|
||||||
export EDITOR="emacsclient -t -c"
|
export EDITOR="emacsclient -t -c"
|
||||||
export ALTERNATE_EDITOR="nano"
|
export ALTERNATE_EDITOR="vim"
|
||||||
|
|
||||||
# Funciones personalizadas
|
# Funciones personalizadas
|
||||||
source $HOME/.oh-my-zsh/custom/themes/custom.zsh
|
source $HOME/.oh-my-zsh/custom/themes/custom.zsh
|
||||||
|
@ -76,9 +75,12 @@ source ~/.fzf.zsh
|
||||||
source ~/Instalados/z/z.sh
|
source ~/Instalados/z/z.sh
|
||||||
source ~/Instalados/fz/fz.plugin.zsh
|
source ~/Instalados/fz/fz.plugin.zsh
|
||||||
source ~/Instalados/zsh-interactive-cd/zsh-interactive-cd.plugin.zsh
|
source ~/Instalados/zsh-interactive-cd/zsh-interactive-cd.plugin.zsh
|
||||||
|
|
||||||
# automatically selects the item if there's only one
|
# automatically selects the item if there's only one
|
||||||
export FZF_CTRL_T_OPTS="--select-1 --exit-0"
|
export FZF_CTRL_T_OPTS="--select-1 --exit-0"
|
||||||
|
|
||||||
# The following example uses tree command to show the entries of the directory
|
# The following example uses tree command to show the entries of the directory
|
||||||
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
|
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
|
||||||
|
|
||||||
# Add git-extras autocompletion
|
# Add git-extras autocompletion
|
||||||
source ~/Instalados/git-extras//etc/git-extras-completion.zsh
|
source ~/Instalados/git-extras//etc/git-extras-completion.zsh
|
||||||
|
|
Loading…
Reference in New Issue