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.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# 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
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# starship
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
@ -90,13 +96,13 @@ plugins=(
|
||||
history-substring-search
|
||||
jsontools
|
||||
jump
|
||||
kubectl
|
||||
kubectl
|
||||
nmap
|
||||
sudo
|
||||
terraform
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
z
|
||||
z
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
@ -145,8 +151,11 @@ function gglog {
|
||||
|
||||
## docker
|
||||
alias d="docker"
|
||||
### Añadir color con tuberia
|
||||
alias dcolor="docker-color-output"
|
||||
|
||||
## kubectl
|
||||
### Añadir color a todo CLI
|
||||
alias kubectl="kubecolor"
|
||||
|
||||
## Copiar y pegar desde la terminal
|
||||
@ -158,8 +167,8 @@ function verip {
|
||||
curl -s https://ipinfo.io | jq
|
||||
}
|
||||
|
||||
|
||||
# Añado mis exportaciones
|
||||
## Go
|
||||
export GOPATH=$HOME/go
|
||||
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user