1 parent c806d24 commit f16d40eCopy full SHA for f16d40e
2 files changed
runes/bash/functions.bash
@@ -142,7 +142,12 @@ mpv_get() {
142
}
143
144
any() {
145
- find "${1:-.}" -maxdepth 1 | shuf -n 1
+ if [[ "$#" -eq 1 ]]; then
146
+ find_arg=(.)
147
+ else
148
+ find_arg=("$@")
149
+ fi
150
+ find "${find_arg[@]}" -maxdepth 1 | shuf -n 1
151
152
153
insist() {
spells/wmgr.crs
@@ -374,7 +374,7 @@ fn sync() -> anyhow::Result<()> {
374
375
let filter = match whoami::fallible::hostname()?.as_str() {
376
"localhost" => "walls/phone",
377
- "tolaria" => "walls/all",
+ "tolaria" | "pendrellvale" => "walls/all",
378
_ => "walls",
379
};
380
0 commit comments