Giter VIP home page Giter VIP logo

.dotfiles's Introduction

dotfiles
macOS

Requires git and zsh

git clone https://github.com/x86chi/.dotfiles.git --depth=1 ~/.dotfiles

ln -sf ~/.dotfiles/.zshrc ~

# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

mkdir -p ~/.gnupg; ln -sf ~/.dotfiles/gpg-agent.conf ~/.gnupg
ln -sf ~/.dotfiles/.vimrc ~
ln -sf ~/.dotfiles/.gitconfig ~
ln -sf ~/.dotfiles/.gitexclude ~

# Optional dotfiles
cp ~/.dotfiles/.gitconfig.local ~

# vim-plug

type below command to neovim:
:call mkdir(stdpath('config'), 'p')

ln -sf ~/.dotfiles/init.vim ~/.config/nvim

# apply vscode configuare
ln -sf ~/.dotfiles/settings.json [path]

# macos [path]: ~/Library/ApplicationSupport/Code/User/

## install vscode extensions
cat ~/.dotfiles/vs_code_extensions_list.txt | xargs -n 1 code --install-extension

## update vscode extensions list
code --list-extensions >> vs_code_extensions_list.txt

MacOS vscode path is ~/Library/ApplicationSupport/Code/User/


dotfiles was inspired by simnalamburt/.dotfiles.

dotfiles is primarily distributed under the terms of the MIT license. See LICENSE for details.

.dotfiles's People

Contributors

mu-hun avatar

Stargazers

Roman avatar DongCheol avatar

.dotfiles's Issues

thefuck cache not found

Error details

~/.dotfiles ๎‚ฐ ๎‚  master โ— ๎‚ฐ git cloe
git: 'cloe' is not a git command. See 'git --help'.

The most similar command is
        clone
 โœ˜ ๎‚ฐ ~/.dotfiles ๎‚ฐ ๎‚  master โ— ๎‚ฐ fuck
[WARN] Removing possibly out-dated cache
# ...
FileNotFoundError: [Errno 2] No such file or directory: '/Users/muhun/.cache/thefuck'

config.fish

# thefuck
if __available thefuck
  thefuck --alias | source
end

Provide a shell script for setting up dotfiles automatically

When setting up dotfiles on a new device, I've always found that copying and pasting multi-line commands is quite cumbersome.

Many Unix-based tools allow you to automatically install dependencies and configure them to suit your environment. For instance, Oh My Zsh:

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

It would be beneficial to have an automation script that clones this repo and executes all the initial setup commands.

Additionally, if the client is on macOS, we could have a script that automatically installs brew and brew cask apps, sets up iterm2 configurations, and installs app store apps.

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.