Skip to content

pramendra/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pramendra's .dotfiles

Note: These are my dotfiles. Take anything you want, but at your own risk.
This repository mainly targets macOS systems.

Setup new device

Copy the item configuraiton

$ cp config/iterm/* ~/Library/Preferences/
$ git clone https://github.com/pramendra/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
$ make
$ dotfiles dock #./bin/dotfiles dock
$ dotfiles macos

Hot fix

fix symbolic link

make unlink && make link

Update lastest change

$ cd ~/.dotfiles
$ git pull
$ make

npm ERR! code ENOTEMPTY

$ rm -rf /opt/homebrew/lib/node_modules/npm

Pre Installation

$ ssh-keygen -t ed25519 -C "your_email@example.com"
$ gh auth login

Copy ssh public key

$ pbcopy < ~/.ssh/id_ed25519.pub

On a sparkling fresh installation of macOS:

sudo softwareupdate -i -a
xcode-select --install

Note: The Xcode Command Line Tools includes git and make (not available on stock macOS). Now there are two options:

Post-Installation

  • dotfiles dock (set Dock items)
  • dotfiles macos (set macOS defaults)
  • Mackup
    • Log in to Dropbox (and wait until synced)
    • ln -s ~/.config/mackup/.mackup.cfg ~ (until #632 is fixed)
    • mackup restore

The dotfiles command

$ dotfiles help
Usage: dotfiles <command>

Commands:
    clean            Clean up caches (brew, npm, gem, rvm)
    dock             Apply macOS Dock settings
    edit             Open dotfiles in IDE (code) and Git GUI (stree)
    help             This help message
    macos            Apply macOS system defaults
    test             Run tests
    update           Update packages and pkg managers (OS, brew, npm, gem)

Features

brew, npm, oh-my-zsh

Credits

Many thanks to the dotfiles community.

D0ctor

nvm not found

$ rm -rf ~/.nvm $ make npm

"login: /usr/local/bin/bash: No such file or directory [Process completed]"

in Sonoma:

Open Terminal. Choose Terminal > Settings, then click General. Next to “Shells open with,” select “Command (complete path),” then enter the complete path to the shell you want to use1.

chsh -s /bin/zsh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published