mirror of
https://github.com/gaschz/dotfiles.git
synced 2025-03-01 14:22:33 +01:00
chore: editorconfig check
This commit is contained in:
parent
f94876f0f0
commit
5936b2059c
@ -13,12 +13,14 @@ case "${1-}" in
|
||||
-d|--disp) class="DispVM";;
|
||||
-s|--standalone) class="StandaloneVM";;
|
||||
"") true;;
|
||||
*) printf '%s\n' "usage: ${0##*/} [CLASS]
|
||||
*) # editorconfig-checker-disable
|
||||
printf '%s\n' "usage: ${0##*/} [CLASS]
|
||||
-A, --admin
|
||||
-t, --template
|
||||
-a, --app
|
||||
-d, --disp
|
||||
-s, --standalone"
|
||||
# editorconfig-checker-enable
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -147,7 +147,7 @@ complete -F _qvmcmd-runtrans qvm-kill
|
||||
# complete n>=2 arguments with filenames
|
||||
_qvmcmd-any_state-filenames() {
|
||||
if [ "$(_get-cword-pos "${COMP_CWORD}")" = 1 ]; then
|
||||
_complete-qubes "any_state"
|
||||
_complete-qubes "any_state"
|
||||
else
|
||||
_complete-filenames
|
||||
fi
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
[alias]
|
||||
; https://git.wiki.kernel.org/index.php/Aliases
|
||||
; https://github.com/schacon/gitscm/tree/master
|
||||
; https://github.com/schacon/gitscm/tree/master
|
||||
; Abbreviations
|
||||
co = checkout
|
||||
br = branch
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
@ -89,8 +89,8 @@ check_signed_push_keyring(){
|
||||
done
|
||||
|
||||
gpg_out="$("$gpg" --status-fd=1 --no-default-keyring \
|
||||
--homedir "${GIT_PUSH_CERT_PGPHOMEDIR}" \
|
||||
--verify "$cert_sig" "$cert_msg" 2>&1)"
|
||||
--homedir "${GIT_PUSH_CERT_PGPHOMEDIR}" \
|
||||
--verify "$cert_sig" "$cert_msg" 2>&1)"
|
||||
gpg_ec="$?"
|
||||
gpg_sig="$(echo "$gpg_out" | awk '/ GOODSIG /{print $3}')"
|
||||
if test "$gpg_ec" = "0"; then
|
||||
|
@ -1,7 +1,7 @@
|
||||
# dircolors
|
||||
|
||||
## SPDX-FileCopyrightText: 2004 - 2022 Tim Pope <https://tpo.pe>
|
||||
## SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
## SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
##
|
||||
## SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
@ -52,7 +52,7 @@ TERM xterm*
|
||||
#RESET 0 # reset to "normal" color
|
||||
DIR 01;34 # directory
|
||||
LINK 01;36 # symbolic link. (If you set this to 'target' instead of a
|
||||
# numerical value, the color is as for the file pointed to.)
|
||||
# numerical value, the color is as for the file pointed to.)
|
||||
# MULTIHARDLINK 00 # regular file with more than one link
|
||||
FIFO 33 # pipe
|
||||
SOCK 01;35 # socket
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
## SPDX-FileCopyrightText: 2004 - 2022 Tim Pope <https://tpo.pe>
|
||||
## SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
## SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
##
|
||||
## SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
@ -39,7 +39,7 @@ if has lsblk; then
|
||||
alias lsblku='lsblk -o $_lsblk_options,UUID,PARTUUID'
|
||||
fi
|
||||
if ! grep --color 2>&1 | grep -qE "(unrecognized|unknown) option" &&
|
||||
! grep --exclude 2>&1 | grep -qE "(unrecognized|unknown) option"
|
||||
! grep --exclude 2>&1 | grep -qE "(unrecognized|unknown) option"
|
||||
then
|
||||
alias grep="grep --exclude='.*.swp' --exclude='*~' --color=auto"
|
||||
fi
|
||||
@ -127,7 +127,7 @@ fi
|
||||
## }}}
|
||||
## {{{ Git
|
||||
if { ! test -f /usr/share/whonix/marker && has git; } ||
|
||||
{ test -f /usr/share/whonix/marker && git -v >/dev/null 2>&1; }
|
||||
{ test -f /usr/share/whonix/marker && git -v >/dev/null 2>&1; }
|
||||
then
|
||||
## Whonix UWT wrapper circumvents the command existence check.
|
||||
alias g="git"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
## SPDX-FileCopyrightText: 2004 - 2022 Tim Pope <https://tpo.pe>
|
||||
## SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
## SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
##
|
||||
## SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
@ -158,7 +158,7 @@ zstyle ':completion:*' squeeze-slashes true
|
||||
zstyle ':completion:*' use-compctl true
|
||||
zstyle ':completion:*' verbose true
|
||||
zstyle ':completion:*:*:-command-:*:*' file-patterns \
|
||||
'*(#q-*):executables:Executables *(-/):directories:Directories'
|
||||
'*(#q-*):executables:Executables *(-/):directories:Directories'
|
||||
zstyle -e ':completion:*:*:-command-:*:*' tag-order '
|
||||
reply=("
|
||||
executables:Executables:Executables
|
||||
|
@ -14,7 +14,7 @@ if has("gui_running")
|
||||
endif
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "vividchalk"
|
||||
|
Loading…
x
Reference in New Issue
Block a user