diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 2ad9d40..09b819c 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -1,3 +1,5 @@ +# vim: ft=zsh + export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" [ "$XDG_VTNR" = 1 ] && { @@ -11,5 +13,3 @@ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" } #[ "$XDG_VTNR" = 1 ] && exec Hyprland - -# vim: ft=zsh diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 467e134..767616b 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,3 +1,5 @@ +# vim: ft=zsh + autoload -U bashcompinit compinit colors zmodload zsh/complist @@ -53,5 +55,3 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z- # disable named-directories autocompletion zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories - -# vim: ft=zsh diff --git a/.config/zsh/aliases/docker.zsh b/.config/zsh/aliases/docker.zsh index 8a0e7d1..9f0970a 100644 --- a/.config/zsh/aliases/docker.zsh +++ b/.config/zsh/aliases/docker.zsh @@ -1,3 +1,5 @@ +# vim: ft=zsh + alias docker='sudo docker' alias docker-compose='sudo docker-compose' alias dk='docker' @@ -90,5 +92,3 @@ alias dcst='docker-compose restart' alias dcb!='docker-compose build --no-cache' alias dcb='docker-compose build' alias dcl='docker-compose pull' - -# vim: ft=zsh diff --git a/.config/zsh/aliases/general.zsh b/.config/zsh/aliases/general.zsh index 78845e6..88847d9 100644 --- a/.config/zsh/aliases/general.zsh +++ b/.config/zsh/aliases/general.zsh @@ -1,3 +1,5 @@ +# vim: ft=zsh + function update() { $TERM --hold -e "$SHELL" -c "sudo pacman -Syu && echo -e '\e[32mDONE\e[0m'" & $TERM --hold -e "$SHELL" -c "flatpak update && echo -e '\e[32mDONE\e[0m'" & @@ -56,5 +58,3 @@ alias monero='monero-wallet-cli \ --daemon-address monero.maby.dev:18081 \ --wallet-file /home/ange/.config/monero/ange --trusted-daemon \ --log-file=/tmp/monero-wallet-cli.log' - -# vim: ft=zsh diff --git a/.config/zsh/aliases/kubectl.zsh b/.config/zsh/aliases/kubectl.zsh index dcdc432..586208e 100644 --- a/.config/zsh/aliases/kubectl.zsh +++ b/.config/zsh/aliases/kubectl.zsh @@ -1,16 +1,4 @@ -# Copyright 2019 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# vim: ft=zsh function kxn() { 1="$(echo - "$1" | tr -c '[:alnum:]-_' '[ *]')" @@ -814,5 +802,3 @@ alias kgsvcwsln='kubectl get service --watch --show-labels --namespace' alias kgingwsln='kubectl get ingress --watch --show-labels --namespace' alias kgcmwsln='kubectl get configmap --watch --show-labels --namespace' alias kgsecwsln='kubectl get secret --watch --show-labels --namespace' - -# vim: ft=zsh