style: vim settings at the top

This commit is contained in:
ange 2024-03-11 21:45:55 +01:00
parent ff9dc89009
commit 4f9222b1fa
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
5 changed files with 9 additions and 23 deletions

View File

@ -1,3 +1,5 @@
# vim: ft=zsh
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
[ "$XDG_VTNR" = 1 ] && { [ "$XDG_VTNR" = 1 ] && {
@ -11,5 +13,3 @@ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
} }
#[ "$XDG_VTNR" = 1 ] && exec Hyprland #[ "$XDG_VTNR" = 1 ] && exec Hyprland
# vim: ft=zsh

View File

@ -1,3 +1,5 @@
# vim: ft=zsh
autoload -U bashcompinit compinit colors autoload -U bashcompinit compinit colors
zmodload zsh/complist zmodload zsh/complist
@ -53,5 +55,3 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-
# disable named-directories autocompletion # disable named-directories autocompletion
zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories
# vim: ft=zsh

View File

@ -1,3 +1,5 @@
# vim: ft=zsh
alias docker='sudo docker' alias docker='sudo docker'
alias docker-compose='sudo docker-compose' alias docker-compose='sudo docker-compose'
alias dk='docker' alias dk='docker'
@ -90,5 +92,3 @@ alias dcst='docker-compose restart'
alias dcb!='docker-compose build --no-cache' alias dcb!='docker-compose build --no-cache'
alias dcb='docker-compose build' alias dcb='docker-compose build'
alias dcl='docker-compose pull' alias dcl='docker-compose pull'
# vim: ft=zsh

View File

@ -1,3 +1,5 @@
# vim: ft=zsh
function update() { function update() {
$TERM --hold -e "$SHELL" -c "sudo pacman -Syu && echo -e '\e[32mDONE\e[0m'" & $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'" & $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 \ --daemon-address monero.maby.dev:18081 \
--wallet-file /home/ange/.config/monero/ange --trusted-daemon \ --wallet-file /home/ange/.config/monero/ange --trusted-daemon \
--log-file=/tmp/monero-wallet-cli.log' --log-file=/tmp/monero-wallet-cli.log'
# vim: ft=zsh

View File

@ -1,16 +1,4 @@
# Copyright 2019 Google Inc. # vim: ft=zsh
#
# 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.
function kxn() { function kxn() {
1="$(echo - "$1" | tr -c '[:alnum:]-_' '[ *]')" 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 kgingwsln='kubectl get ingress --watch --show-labels --namespace'
alias kgcmwsln='kubectl get configmap --watch --show-labels --namespace' alias kgcmwsln='kubectl get configmap --watch --show-labels --namespace'
alias kgsecwsln='kubectl get secret --watch --show-labels --namespace' alias kgsecwsln='kubectl get secret --watch --show-labels --namespace'
# vim: ft=zsh