Actualización de fichero zshrc
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
parent
7c28885894
commit
c78e150020
15
files/zshrc
15
files/zshrc
@ -1,10 +1,16 @@
|
|||||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
# Initialization code that may require console input (password prompts, [y/n]
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
|
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# starship
|
||||||
|
|
||||||
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
|
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
@ -90,13 +96,13 @@ plugins=(
|
|||||||
history-substring-search
|
history-substring-search
|
||||||
jsontools
|
jsontools
|
||||||
jump
|
jump
|
||||||
kubectl
|
kubectl
|
||||||
nmap
|
nmap
|
||||||
sudo
|
sudo
|
||||||
terraform
|
terraform
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
z
|
z
|
||||||
)
|
)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
@ -145,8 +151,11 @@ function gglog {
|
|||||||
|
|
||||||
## docker
|
## docker
|
||||||
alias d="docker"
|
alias d="docker"
|
||||||
|
### Añadir color con tuberia
|
||||||
|
alias dcolor="docker-color-output"
|
||||||
|
|
||||||
## kubectl
|
## kubectl
|
||||||
|
### Añadir color a todo CLI
|
||||||
alias kubectl="kubecolor"
|
alias kubectl="kubecolor"
|
||||||
|
|
||||||
## Copiar y pegar desde la terminal
|
## Copiar y pegar desde la terminal
|
||||||
@ -158,8 +167,8 @@ function verip {
|
|||||||
curl -s https://ipinfo.io | jq
|
curl -s https://ipinfo.io | jq
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Añado mis exportaciones
|
# Añado mis exportaciones
|
||||||
|
## Go
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
|
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user