Actualización de fichero zshrc
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
parent
6d2e437da9
commit
10f393197e
26
files/zshrc
26
files/zshrc
@ -90,13 +90,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
|
||||
@ -128,9 +128,8 @@ source $ZSH/oh-my-zsh.sh
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Introduzco mis alias
|
||||
## git
|
||||
alias g="git"
|
||||
alias d="docker"
|
||||
alias kubectl="kubecolor"
|
||||
|
||||
function ggpush {
|
||||
git push origin HEAD $@
|
||||
@ -144,6 +143,25 @@ function gglog {
|
||||
git log --graph --pretty=format:"%C(yellow)%h%Cred%d%Creset - %C(cyan)%an%Creset: '%s' %Cgreen(%cr)%Creset"
|
||||
}
|
||||
|
||||
## docker
|
||||
alias d="docker"
|
||||
|
||||
## kubectl
|
||||
alias kubectl="kubecolor"
|
||||
|
||||
## Copiar y pegar desde la terminal
|
||||
alias pbcopy='xsel -b'
|
||||
alias pbpaste='xsel -b -o'
|
||||
|
||||
## ver info externa de la ip
|
||||
function verip {
|
||||
curl -s https://ipinfo.io | jq
|
||||
}
|
||||
|
||||
|
||||
# Añado mis exportaciones
|
||||
export GOPATH=$HOME/go
|
||||
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
|
||||
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
|
Loading…
Reference in New Issue
Block a user