dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit a877b24ec16fb7aba5a06ddf155eb54354fc5594
parent b81464c3ffa1dc7019be32890ed893dc12ca9856
Author: Paco Esteban <paco@onna.be>
Date:   Tue, 16 Apr 2019 09:59:22 +0200

Cleaning and reordering aliases.

Diffstat:
zsh/.zsh/aliases.zsh | 53++++++++++++++++++++++-------------------------------
1 file changed, 22 insertions(+), 31 deletions(-)

diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh @@ -24,6 +24,28 @@ if [[ "$MYOS" == "OpenBSD" ]]; then fi if [[ "$MYOS" == "Darwin" ]]; then alias ls='ls -F' + alias k='kubectl' + alias kg='kubectl get' + alias kgp='kubectl get pod' + alias kgpw='kubectl get pod -o wide' + alias kgdep='kubectl get deployment' + alias kgsvc='kubectl get service' + alias kging='kubectl get ingress' + alias kgcm='kubectl get configmap' + alias kgsec='kubectl get secret' + alias kd='kubectl describe' + alias ka='kubectl apply -f' + alias krm='kubectl delete' + alias kex='kubectl exec -i -t' + alias kedep='kubectl edit deployment' + alias kecm='kubectl edit configmap' + alias ktopn='kubectl top node' + alias ktopp='kubectl top pod' + alias kctx='kubectx' + alias kns='kubens' + alias gcil='gcloud compute instances list' + alias gcssh='gcloud compute ssh' + alias gcscp='gcloud compute scp' CLIP_COMMAND="pbcopy" fi @@ -31,49 +53,18 @@ alias lst='ls -latr' alias cp='cp -v' alias tm='tmux attach' alias g='git' -alias k='kubectl' -alias kg='kubectl get' -alias kgp='kubectl get pod' -alias kgpw='kubectl get pod -o wide' -alias kgdep='kubectl get deployment' -alias kgsvc='kubectl get service' -alias kging='kubectl get ingress' -alias kgcm='kubectl get configmap' -alias kgsec='kubectl get secret' -alias kd='kubectl describe' -alias ka='kubectl apply -f' -alias krm='kubectl delete' -alias kex='kubectl exec -i -t' -alias kedep='kubectl edit deployment' -alias kecm='kubectl edit configmap' -alias ktopn='kubectl top node' -alias ktopp='kubectl top pod' -alias kctx='kubectx' -alias kns='kubens' -alias gcil='gcloud compute instances list' -alias gcssh='gcloud compute ssh' -alias gcscp='gcloud compute scp' alias info='info --vi-keys' # GNU info act like man command alias figletfonts='ls -1 `figlet -I2` | grep "\.flf$" | cut -f 1 -d "." | sort -u' # list figlet fonts alias pdu='ncdu --color dark -rr' -# various connection aliases -alias sr1='ssh r1' -alias sga='ssh galadriel' -alias ssdf='ssh sdfeu' - # most used config files fast access -cfg-i3() { $EDITOR $HOME/.config/i3/config } cfg-nvim() { $EDITOR $HOME/.config/nvim/init.vim } -cfg-polybar() { $EDITOR $HOME/.config/polybar/config } cfg-ranger() { $EDITOR $HOME/.config/ranger/rc.conf } cfg-ranger-rifle() { $EDITOR $HOME/.config/ranger/rifle.conf } cfg-ranger-commands() { $EDITOR ~/.config/ranger/commands.py } cfg-zsh() { $EDITOR $HOME/.zshrc } cfg-zsh-alias() { $EDITOR $HOME/.zsh/aliases.zsh } cfg-mutt() { $EDITOR $HOME/.muttrc } -cfg-newsboat() { $EDITOR $HOME/.newsboat/config } -cfg-newsboat-urls() { $EDITOR $HOME/.newsboat/urls } cfg-tmux() { $EDITOR $HOME/.tmux.conf } cfg-ssh() { $EDITOR $HOME/.ssh/config } cfg-ssh-authorized-keys() { $EDITOR $HOME/.ssh/authorized_keys }