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
  3. Commit to git and push.
  4. Backup other config files (move to other disk, DO NOT COMMIT THOSE):
    • 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 Raycast settings.
  7. Import bookmars, add extensions to Chrome (dev/work related, without sync)
  8. Copy files from backup drive.
  9. Set proper version of python
  10. Check fzf is setup correctly

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