Coder Social home page Coder Social logo

dotfiles's Introduction

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)

dotfiles's People

Contributors

pustelto avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.