This repository contains my dotfiles and some scripts that I use everyday.
# Debian system dependencies
sudo apt install tmux zsh neovim# Run the following in your terminal
curl --proto '=https' --tlsv1.2 -sSf https://nmkup.nuimk.com | sh
# If you have GPG installed, a more secure option is available
gpg --keyserver keyserver.ubuntu.com --recv-keys 0x551CFC14F537B532DED712EAE84E0669828CF62A
curl -O https://nmkup.nuimk.com/nmkup-init.sh.asc
if gpg --batch --yes -o nmkup-init.sh nmkup-init.sh.asc; then sh nmkup-init.sh; fi
# To start tumx
~/.nmk/bin/nmk
# To start zsh
~/.nmk/login.shThe generated zsh configuration files are not commited to git history. In order to automatically generate them, use following options
- use git hooks by setting
git config core.hooksPath .githooks - run
zsh/watchexec-merge.sh
- bin # Reserved directory for the launcher and updater
- config # Custom $HOME/.config
- devbin # Utility scripts
- vim # Vim configuration
- zsh # Zsh configuration
Overwrite ~/.zshenv with
export ZDOTDIR=~/.nmk/zsh
source $ZDOTDIR/.zshenvThen run cp ~/.nmk/zsh/{template/,}zprofile
Log out and log back in.
# Mark this computer as a development machine
# - user@host will not be shown on zsh prompt
# - run development tools without warning
NMK_DEV=[1|0]To make vim-airline display powerline symbols correctly, you need to install a patched font. Instructions can be found in the official powerline documentation, or just download and install prepatched fonts from powerline-font repository.
All tags in this repository are signed with my public key, run below command to get it.
gpg --recv-keys 0x28B07F9036262EEF4D5B2B21B837E20D47A47347