Fix dotdrop alias
This commit is contained in:
parent
0e72be4d93
commit
0db7729c53
|
@ -165,7 +165,7 @@ alias i='iwctl station wlan0'
|
|||
cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" }
|
||||
|
||||
# dotdrop
|
||||
dotdrop() { source $DOTREPO/secrets/secrets && $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config.toml {%@@ if profile == "Isengard" @@%} -p Isengard{%@@ endif @@%} $@ }
|
||||
dotdrop() { source $DOTREPO/secrets/secrets && UID=$(id -u) $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config.toml {%@@ if profile == "Isengard" @@%} -p Isengard{%@@ endif @@%} $@ }
|
||||
sdotdrop() { source $DOTREPO/secrets/secrets && sudo -E $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config-root.toml $@ }
|
||||
updatesecrets() { bash $DOTREPO/secrets/secrets.sh; chmod 600 $DOTREPO/secrets/secrets }
|
||||
compdef _dotdrop-completion.zsh sdotdrop
|
||||
|
|
Loading…
Reference in a new issue