• Stars
    star
    312
  • Rank 134,133 (Top 3 %)
  • Language
    Lua
  • License
    MIT License
  • Created over 12 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🏠 Personal dotfiles for *NIX systems

Dotfiles

🏠 Personal dotfiles for *NIX (macOS and Linux) systems.

Installation

👉 One-liner (if you trust me):

curl -fsSL https://dotfiles.wook.kr/etc/install | bash
💡 (Tip) You only need to remember curl dotfiles.wook.kr (Click to expand)

🤔 Want to manually clone and install? (Click to expand)

$ git clone --recursive https://github.com/wookayin/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles && python install.py


The installation script will clone the repository into ~/.dotfiles and create symbolic links (e.g., ~/.vimrc) for you. If target files already exist (e.g. ~/.vim, ~/.vimrc), you will need to manually resolve the conflict (delete the old one or just ignore). See Troubleshooting below for details.

$ dotfiles

To update dotfiles (pull changes from upstream and run install.py again):

$ dotfiles update
$ dotfiles update --fast          # fast update mode: skip updating {vim,zsh} plugins

On Linux, you can install some common softwares locally (into $HOME/.local/bin) without sudo:

$ dotfiles install neovim         # -> ~/.local/bin/nvim
$ dotfiles install ripgrep        # -> ~/.local/bin/rg

🆘 Troubleshooting

Please read carefully warning messages during installation !!

  • If something goes wrong, please run $ dotfiles update (or install.py) to make everything up-to-date.

    • If you have your own ~/.zshrc, ~/.vimrc, ~/.vim, etc., that are NOT symbolic links, they will not be overwritten by default. In such cases you should delete these files manually.
  • Q: I see some weird icons like in (neo)vim or in the statusline.

    • A: Use Nerd fonts v3. If you haven't upgrade to Nerd fonts v3 or higher, upgrade to v3 due to the new (breaking) Material Design Icons codepoints.
    • Mac users can do: brew install font-*-nerd-font. If you want to upgrade from v2, try brew reinstall --cask $(brew list | grep nerd-font).
  • If neovim + treesitter emits an error like query: invalid node type, Run :TSUpdate (and wait for installation is done).

  • If neovim cannot run due to version 'GLIBC_2.29' not found errors (on Ubuntu 18.04 or earlier), you should upgrade your Ubuntu distribution to 20.04+ in order to run nvim 0.8.x or higher. If you need a workaround, you can install nvim 0.7.2: NEOVIM_VERSION=0.7.2 dotfiles install neovim.

  • If neovim emits any startup errors (e.g. no module named neovim):

    • Use latest neovim (e.g., neovim 0.9.0). To install/upgrade neovim on your system, you can run dotfiles install neovim (linux) or brew install neovim (mac).
    • Try :checkhealth.
    • Try :Lazy update: some errors from vim plugin could be easily solved by updating plugins to date. You can do :Lazy update (in vim) or $ dotfiles update (in zsh).
    • We require python3 version not less than 3.6. See https://endoflife.date/python
    • Make sure that the pynvim pypi package is installed on local python 3, i.e. the python3 on conda, virtualenv, etc. This should have been automatically installed. If it doesn't work, check which python3. Use the following vim command to tell which host python is used: :echo g:python3_host_prog.
      • If you are not sure, manually running python3 -m pip install --user pynvim might help.
  • Does vim color look weird (e.g. only black-and-white)?

    • Check whether your terminal emulator supports 24-bit color. Use iTerm2 or kitty rather than built-in Terminal.
    • Latest Mosh (1.4.0+) support 24-bit colors yet, so try upgrading mosh if you are using it.
    • Try :set notermguicolors to temporarily disable 24-bit colors.
  • Does tmux look weird? Make sure that tmux version is 2.3 or higher.

    • Run $ dotfiles install tmux to install tmux into $HOME/.local/bin, if you do not have sudo.
  • If you still have no idea or have found a bug, please feel free to contact me or raise an issue, and I will happy to help you.

License

The MIT License (MIT)

Copyright (c) 2012-2022 Jongwook Choi (@wookayin)

More Repositories

1

gpustat

📊 A simple command-line utility for querying and monitoring GPU status
Python
3,994
star
2

tensorflow-talk-debugging

💬 Slides and supplementary codes for my talk 'Debugging Tips on TensorFlow' (2016)
Python
613
star
3

gpustat-web

👓 A web interface of gpustat: monitor GPU clusters at a look
Python
312
star
4

tensorflow-plot

📈 TensorFlow + Matplotlib as TF ops
Python
298
star
5

python-imgcat

🖼 imgcat in Python (for iTerm2)
Python
243
star
6

pintos

🌀 OS Coursework Project (PintOS)
C
200
star
7

TensorFlowKR-2017-talk-bestpractice

💬 Slides and Tutorial Codes for the talk 'Toward Best Practices of TensorFlow Code Patterns' (2017)
CSS
155
star
8

expt

Experiment. Plot. Tabulate.
Python
67
star
9

fzf-fasd

🌸 fzf + fasd integration
Shell
56
star
10

arxivify.sh

Generates a zip archive that is uploadable to arXiv.
Shell
45
star
11

alfred-latex-symbols-workflow

🔎 Alfred 3-4 workflow to search for latex symbol commands
Ruby
45
star
12

alfred-papers3-workflow

🔎 An Alfred 2/3 workflow to search Papers3 items
Python
43
star
13

tensorboard-tools

📉 A collection of TensorBoard-related utilities (In Progress)
Python
37
star
14

vim-typora

🗒 Vim ❤️ Typora
Vim Script
35
star
15

alfred-arxiv-workflow

🔎 Alfred workflow to search arxiv.org items
JavaScript
25
star
16

vim-autoimport

A vim plugin for adding import statements (for python and more) without LSP
Python
25
star
17

alfred-open-color-workflow

🔎 An Alfred 2/3 workflow to quickly lookup and insert open color codes
Python
22
star
18

fzf-ripgrep.vim

Vim + Fzf + Rg = Super Fast Jumper
Vim Script
19
star
19

anybar-zsh

🐚 zsh function and completion for anybar
Shell
18
star
20

latex-boilerplate

📝 A personal collection of templates for Markdown+LaTeX-based writing.
TeX
16
star
21

is_mosh

Detect whether the current shell is running under mosh
Shell
13
star
22

TensorflowKR-2016-talk-debugging

A talk on TensorFlow debugging -- REPOSITORY MOVED TO:
HTML
8
star
23

vim-python-enhanced-syntax

🐉 An experimental vim python syntax
Vim Script
7
star
24

iterm-tab-color

🎨 A command-line script to easily set iterm tab colors
Python
7
star
25

kitty-tmux

Make Kitty work better with Tmux
Python
7
star
26

toy-montezuma-pycolab

Toy Montezuma's Revenge as Pycolab and Gym environments (working in progress, NOT FULLY USABLE)
Python
6
star
27

gym-tensorflow

Gym RL environment as TensorFlow op. A fork of Uber's implementation
Python
6
star
28

imagepaste.vim

A vim plugin to paste image from clipboard and its markdown tag
Vim Script
6
star
29

nvim-profiler

A simple Lua Profiler for neovim
Lua
5
star
30

nvidia-ml-py

An unofficial, up-to-date mirror of NVIDIA's python bindings (nvidia-ml-py)
Python
5
star
31

video2gif

A command line script to convert video file to (a reasonable) GIF
Python
3
star
32

misc-stuff

Personal Miscellaneous Stuffs
Python
2
star
33

slurm-tools

A collection of useful scripts for Slurm HPC.
2
star
34

teamnote

Teamnote and code snippets for algorithm competitions including ICPC
Vim Script
1
star
35

redmine_advanced_watchers_selection

Redmine watchers selection plugin
Ruby
1
star
36

fast-syntax-highlighting

Shell
1
star