[zsh/nvim] improvs

This commit is contained in:
Julien Rabier 2024-06-03 10:20:15 +02:00
parent 8f0abf329b
commit 7735692fd1
2 changed files with 14 additions and 12 deletions

View File

@ -11,9 +11,12 @@ alias ta='tmux a'
alias vi="nvim" alias vi="nvim"
alias vim="nvim" alias vim="nvim"
alias zz='zcat $1 | most' alias zz='zcat $1 | most'
alias curlh='curl -Livso /dev/null'
{{ if eq .chezmoi.hostname "taupo" -}} {{ if eq .chezmoi.hostname "taupo" -}}
alias cat="batcat" alias cat="batcat"
alias l='eza -a'
alias ll='eza -lab'
alias lah='eza -lbhHigmuSa --time-style=long-iso --color-scale' # all list alias lah='eza -lbhHigmuSa --time-style=long-iso --color-scale' # all list
alias lxh='eza -lbhHigmuSa@ --time-style=long-iso --color-scale' # all + extended list alias lxh='eza -lbhHigmuSa@ --time-style=long-iso --color-scale' # all + extended list
alias dig="dog --time A NS MX TXT AAAA SOA $1" alias dig="dog --time A NS MX TXT AAAA SOA $1"

View File

@ -17,20 +17,19 @@ snippet DOC "DOC"
snippet EXPIRE "EXPIRE" snippet EXPIRE "EXPIRE"
:EXPIRE:jrabier:`strftime("%Y%m%d")`: ${1} :EXPIRE:jrabier:`strftime("%Y%m%d")`: ${1}
snippet client_contacts "Client contacts" snippet client_contacts "Client contacts"
- name: ${1:${VISUAL}} - name: ${1:${VISUAL}}
email: ${2} email: ${2}
admin: ${3} admin: ${3}
tech: ${4} tech: ${4}
hno_phone: ${5} hno_phone: ${5}
hno_comment: ${6} hno_comment: ${6}
snippet local_admins "Local Admins" snippet local_admins "Local Admins"
- name: ${1:${VISUAL}} - name: ${1:${VISUAL}}
firstname: ${2} firstname: ${2}
lastname: ${3} lastname: ${3}
shell: /bin/bash shell: /bin/bash
password: password:
key: ${4} key: ${4}
email: ${5} email: ${5}