refactor: remove restic timers, add scripts/configs, update docs
- resticprofile: remove all schedules (manual backups via backup-menu) - resticprofile: fix hardcoded /home/ada paths → ~/ - proj(): find git repos by .git presence up to depth 4 - bootstrap.sh: add fzf, fd, bat, ripgrep, kitty, htop to packages - README.md: rewrite for chezmoi (remove stow references) - add: htoprc, betterbird_up.sh, kitty_up.sh, tg_up.sh
This commit is contained in:
@@ -298,10 +298,10 @@ proj() {
|
||||
|
||||
local target
|
||||
if command -v fzf &>/dev/null; then
|
||||
target=$(find "$base" -maxdepth 2 -mindepth 1 -type d \
|
||||
\( -name .git -o -name node_modules -o -name .venv \) -prune \
|
||||
-o -type d -print \
|
||||
| sed "s|$base/||" \
|
||||
# Ищем директории с .git (git-репозитории) до глубины 4
|
||||
target=$(find "$base" -maxdepth 4 -name ".git" -type d \
|
||||
| sed "s|/.git$||;s|$base/||" \
|
||||
| sort \
|
||||
| fzf --prompt "proj > " --height=40% --reverse) || return 0
|
||||
elif [[ -n "$1" ]]; then
|
||||
target="$1"
|
||||
|
||||
Reference in New Issue
Block a user