backup: 2026-04-06 16:24

This commit is contained in:
Dmitry
2026-04-06 16:24:25 +03:00
parent 0b34650704
commit c4cc52f73d
4 changed files with 162 additions and 147 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ resticprofile -n dotfiles check # проверить репозиторий
# resticprofile (управление бэкапами) # resticprofile (управление бэкапами)
# или через пакетный менеджер вашей системы # или через пакетный менеджер вашей системы
``` ```
t
4. **Настройка rclone** (нужно один раз): 4. **Настройка rclone** (нужно один раз):
```bash ```bash
rclone config rclone config
+14 -9
View File
@@ -1,15 +1,16 @@
{ {
"disable_ai": true,
"restore_on_startup": "launchpad", "restore_on_startup": "launchpad",
"base_keymap": "VSCode", "base_keymap": "VSCode",
"use_smartcase_search": true, "use_smartcase_search": true,
"minimap": { "minimap": {
"show": "never" "show": "never",
}, },
"scrollbar": { "scrollbar": {
"axes": { "axes": {
"horizontal": true, "horizontal": true,
"vertical": true "vertical": true,
} },
}, },
"cursor_blink": true, "cursor_blink": true,
"colorize_brackets": true, "colorize_brackets": true,
@@ -17,17 +18,17 @@
"show_whitespaces": "selection", "show_whitespaces": "selection",
"ensure_final_newline_on_save": true, "ensure_final_newline_on_save": true,
"indent_guides": { "indent_guides": {
"enabled": true "enabled": true,
}, },
"preferred_line_length": 100, "preferred_line_length": 100,
"soft_wrap": "editor_width", "soft_wrap": "editor_width",
"hard_tabs": false, "hard_tabs": false,
"tab_size": 4, "tab_size": 4,
"session": { "session": {
"trust_all_worktrees": true "trust_all_worktrees": true,
}, },
"edit_predictions": { "edit_predictions": {
"provider": "copilot" "provider": "none",
}, },
"outline_panel": { "outline_panel": {
"git_status": true, "git_status": true,
@@ -94,7 +95,7 @@
}, },
"project_panel": { "project_panel": {
"sort_mode": "directories_first", "sort_mode": "directories_first",
"dock": "left", "dock": "right",
"hide_root": true, "hide_root": true,
"button": true, "button": true,
"indent_size": 15.0, "indent_size": 15.0,
@@ -104,8 +105,9 @@
"hide_gitignore": false, "hide_gitignore": false,
}, },
"agent": { "agent": {
"enable_feedback": false,
"tool_permissions": { "tool_permissions": {
"default": "allow" "default": "allow",
}, },
"button": true, "button": true,
"inline_assistant_model": { "inline_assistant_model": {
@@ -145,6 +147,9 @@
"theme": { "theme": {
"mode": "system", "mode": "system",
"light": "Ayu Light", "light": "Ayu Light",
"dark": "Nordfox - opaque", "dark": "Tokyo Night",
},
"features": {
"notebooks": true,
}, },
} }
+10 -1
View File
@@ -191,4 +191,13 @@ alias gbackup='git add . && git commit -m "backup: $(date +"%Y-%m-%d %H:%M")" &&
alias db_rev='rails db:drop && rails db:create && rails db:migrate && rails db:seed' alias db_rev='rails db:drop && rails db:create && rails db:migrate && rails db:seed'
alias dotfiles='$VISUAL ~/.dotfiles' alias zed='zeditor'
alias dotfiles='$VISUAL ~/dotfiles'
alias ua-drop-caches='sudo paccache -rk3; paru -Sc --noconfirm'
alias ua-update-all='export TMPFILE="$(mktemp)"; \
sudo true; \
rate-mirrors --save=$TMPFILE arch --max-delay=21600 \
&& sudo mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist-backup \
&& sudo mv $TMPFILE /etc/pacman.d/mirrorlist \
&& paru -Syyu --noconfirm \
&& ua-drop-caches'
+2 -1
View File
@@ -4,8 +4,9 @@
# ═══ Основные пути ═════════════════════════════════════════ # ═══ Основные пути ═════════════════════════════════════════
export EDITOR="${EDITOR:-nano}" export EDITOR="${EDITOR:-nano}"
export VISUAL="${VISUAL:-code}" export VISUAL="${VISUAL:-zeditor}"
export PAGER="less" export PAGER="less"
export SUDO_EDITOR="zeditor --wait"
# ═══ XDG Base Directories ══════════════════════════════════ # ═══ XDG Base Directories ══════════════════════════════════
export XDG_CONFIG_HOME="${HOME}/.config" export XDG_CONFIG_HOME="${HOME}/.config"