config: param tweaks
This commit is contained in:
parent
11f307c4bd
commit
4dc3bfeb84
|
@ -6,6 +6,9 @@ if test -f /etc/bash_completion && ! shopt -oq posix
|
|||
then . /etc/bash_completion
|
||||
fi
|
||||
|
||||
alias scr="sudo systemctl reload-or-restart"
|
||||
difr() { diff --color=always --unified=1 --recursive "$@" | less --RAW-CONTROL-CHARS --quit-on-intr --quit-if-one-screen; }
|
||||
|
||||
# ls aliases
|
||||
|
||||
export LS_OPTIONS='--human-readable --si --group-directories-first --file-type --dereference-command-line'
|
||||
|
@ -14,9 +17,7 @@ alias ls='ls --color=auto'
|
|||
alias ll='ls $LS_OPTIONS -l --all'
|
||||
alias l='ls $LS_OPTIONS --color=always --almost-all'
|
||||
which bat >/dev/null || alias bat="$(which batcat >/dev/null && echo batcat || echo less -FX)"
|
||||
b() {
|
||||
test -d "${1:-.}" && l "$@" || bat "$@"
|
||||
}
|
||||
b() { test -d "${1:-.}" && l "$@" || bat "$@"; }
|
||||
alias v="$(which nvim >/dev/null && echo nvim || echo ${EDITOR:-vi})"
|
||||
|
||||
# Grep aliases
|
||||
|
|
|
@ -138,6 +138,21 @@ matches:
|
|||
type: shell
|
||||
params:
|
||||
cmd: pass info/signature
|
||||
- trigger: ":sigo"
|
||||
replace: |-
|
||||
#+ATTR_ORG: :width 200
|
||||
#+ATTR_LATEX: :width 4cm :center nil
|
||||
[[file:{{signature}}]] \\
|
||||
{{name}}
|
||||
vars:
|
||||
- name: signature
|
||||
type: match
|
||||
params:
|
||||
trigger: ":sign"
|
||||
- name: name
|
||||
type: match
|
||||
params:
|
||||
trigger: ":a0"
|
||||
- trigger: ":iban"
|
||||
replace: "{{output}}"
|
||||
vars:
|
||||
|
|
|
@ -64,7 +64,7 @@ arguments = "--rebase --autostash"
|
|||
|
||||
[linux]
|
||||
# Arguments to pass yay when updating packages
|
||||
yay_arguments = "--nodiffmenu"
|
||||
yay_arguments = "--nodiffmenu --ignore android-studio --ignore clion --ignore intellij-idea-ultimate-edition --ignore intellij-idea-ultimate-edition-jre --ignore webstorm"
|
||||
#trizen_arguments = "--devel"
|
||||
#enable_tlmgr = true
|
||||
#emerge_sync_flags = "-q"
|
||||
|
|
Loading…
Reference in New Issue