mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 22:48:05 +01:00
Compare commits
7 commits
beb4f22aaa
...
8dbb737944
Author | SHA1 | Date | |
---|---|---|---|
8dbb737944 | |||
365a3a7579 | |||
33c31e4cb8 | |||
8b350edcdf | |||
66a4361d01 | |||
198914d3fd | |||
10c72dd8a2 |
5 changed files with 21 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
function ll --wraps=ls --wraps=eza
|
function ll --wraps=ls --wraps=eza
|
||||||
eza --long --all --header --group --git $argv
|
set bin exa
|
||||||
|
if type -q eza
|
||||||
|
set bin eza
|
||||||
|
end
|
||||||
|
|
||||||
|
$bin --long --all --header --group --git $argv
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
function upgrade --wraps=topgrade
|
function upgrade --wraps=topgrade
|
||||||
|
set -x NODE_OPTIONS "--no-deprecation"
|
||||||
if not bw login --check
|
if not bw login --check
|
||||||
set -x BW_SESSION (bw login --raw)
|
set -x BW_SESSION (bw login --raw)
|
||||||
end
|
end
|
||||||
if not bw unlock --check
|
if not bw unlock --check
|
||||||
set -x BW_SESSION (bw unlock --raw)
|
set -x BW_SESSION (bw unlock --raw)
|
||||||
end
|
end
|
||||||
|
{{- if get . "sudo" }}
|
||||||
sudo ls >/dev/null
|
sudo ls >/dev/null
|
||||||
|
{{- end }}
|
||||||
topgrade $argv
|
topgrade $argv
|
||||||
end
|
end
|
|
@ -11,6 +11,9 @@ disable = [
|
||||||
{{- if eq .chezmoi.os "darwin" }}
|
{{- if eq .chezmoi.os "darwin" }}
|
||||||
"vim",
|
"vim",
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if not (get . "sudo") }}
|
||||||
|
"npm",
|
||||||
|
{{- end }}
|
||||||
]
|
]
|
||||||
|
|
||||||
# Ignore failures for these steps
|
# Ignore failures for these steps
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
pinentry-program /opt/homebrew/bin/pinentry-mac
|
|
||||||
|
|
9
private_dot_gnupg/gpg-agent.conf.tmpl
Normal file
9
private_dot_gnupg/gpg-agent.conf.tmpl
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{{- if get . "brew" }}
|
||||||
|
pinentry-program /opt/homebrew/bin/pinentry-mac
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
default-cache-ttl 600
|
||||||
|
max-cache-ttl 7200
|
||||||
|
default-cache-ttl-ssh 600
|
||||||
|
max-cache-ttl-ssh 7200
|
||||||
|
|
Loading…
Reference in a new issue