Skip to content

Pustelto/Dotfiles

Repository files navigation

Dotfiles

List of my dotfiles and configurations for easy setup of my dev environment. Feel free to look around. Right now I can version my dotfiles and backup/install names and versions of my global npm scripts.

For the dotfiles managment I'm using dotfiles utility.

Notes

On mac you have to install gnu-sed and use it instead of default mac sed.

Backup process

  1. Run backup.sh script in setup_scripts folder - backup for global NPM and cargo packages, programs installed via Brew and VS Code extensions.
  2. Backup iTerm settings:
    • Profile - Settings > Profiles > Other action > Save profile as JSON
    • Settings - Settings > General > Preferences > Save now
  3. Commit to git and push.
  4. Backup other config files (move to other disk, DO NOT COMMIT THOSE):
    • .variables;
    • Backup ssh keys - ~/.ssh
    • .zsh_history, .fzf.zsh, .z
  5. Backup my files (move to other disk, DO NOT COMMIT THOSE)
    • wifi networks - /Library/Preferences/com.apple.wifi.known-networks.plist
    • Raycast settings (export option) and scripts (copy folder).
    • bookmarks (Chrome)
    • other files (documents, photos etc.)
    • GPG keys (if used)

Restore process

  1. Signin with Apple ID in Preferences
  2. Signin with Apple ID in App Store
  3. Clone or download Dotfiles repo to $HOME dir
  4. Run setup.sh script (may need to change file permissions in order to run it)
  5. Go to Tmux and hit Prefix + I to load the plugins
  6. Import iTerm settings.
    • Settings - Settings > General > Preferences > Check load preferences from custom folder or URL
    • Profile - Settings > Profiles > Other action > Add profile (hit + button)
  7. Import Raycast settings.
  8. Import bookmars, add extensions to Chrome (dev/work related, without sync)
  9. Copy files from backup drive.
  10. Set proper version of python
  11. Check fzf is setup correctly
  12. Install MonoLisa font with Nerd fonts
  13. open vim and install plugins

Troubleshooting notes:

  • If you have issue with installation of zsh plugins, try to first delete zcompdump: rm .zcompdump.
  • If you get error that compdef is not defined, you probably load antidote plugins too soon, before initializing completitions.
  • If Mason can't install deps in Neovim, then check logs, maybe there was an issue with npm/node after automatic setup.

To-Do

  • fix theme (console.log, colors)

    • install and use TS playground plugin - :TSHighlight group under cursor
    • red and cyan slightly more dimmed
  • update iterm with tmux session name and disable tmux status bar https://github.com/daneah/iterm-components

  • glg/glgg not working for small list (less wont activate pagination)

  • better formatted scripts output

  • automate syncing/backup of changed files

    • some auto git commit and push?
    • watching dotfiles folder?
    • cron?
  • script to do complete backup/restore

  • move paths in scripts to export file/separate config instead of hardcoding it

macOS

ata

  • link license
  • clone repos
  • import GPG keys
  • mail signature and login
  • Set proper version of java (if valid check path)

About

Backup of my dotfiles and OS settings/config

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published