Fix typo in profile name

This commit is contained in:
Marko Korhonen 2022-08-17 21:41:14 +03:00
parent 1b70982c43
commit 682218f113
No known key found for this signature in database
GPG Key ID: 911B85FBC6003FE5

View File

@ -118,7 +118,7 @@ alias i='iwctl station wlan0'
cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" } cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" }
# dotdrop # 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 && $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 $@ } 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 } updatesecrets() { bash $DOTREPO/secrets/secrets.sh; chmod 600 $DOTREPO/secrets/secrets }
compdef _dotdrop-completion.zsh sdotdrop compdef _dotdrop-completion.zsh sdotdrop