dotfiles

Created: 2018-01-08 16:54
Updated: 2019-03-06 13:35

readme.md

dotfiles

Collection of config files, install scripts, list of used apps

Table of Contents

Configurations

Zsh (shell)

I'm using zsh with oh-my-zsh.

View zsh config: osx, manjaro (change the User specific section of this config) - ~/.zshrc

View oh-my-zsh config (I removed everything uneccessary to me, as it slowed me down on every new shell instance) - ~/.oh-my-zsh/oh-my-zsh.sh

View aliases:

  • manjaro (this file links to all other alias files, which can be found in the same dir) - ~/.zsh/init.zsh
  • osx - ~/.oh-my-zsh/custom/aliases.zsh

Zsh theme:

View zsh-theme - ~/.oh-my-zsh/themes/cobalt2.zsh-theme

For the theme to be rendered correctly you will need a powerline patched font (I use Roboto Mono).

The font will need to be installed on the device. On linux just place the ttf file in ~/.fonts.

To change the $ default prompt in the shell, open ~/.oh-my-zsh/themes/cobalt2.zsh-theme and edit line 52, changing the value between the closing parens and double quote:

prompt_segment black default "%(!.%{%F{yellow}%}.)<insert-prompt-here>"

Plugins:

Clone into ~/.oh-my-zsh/plugins/ with: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Terminal

Linux

View Terminator notes

OSX:

View iTerm2 notes

Tmux (terminal mutiplexer)

Tmux is a terminal multiplexer, that allows for multiple terminal windows to run within one, screen splitting and much more.

View tmux config: osx, manjaro - ~/.tmux.conf

Scripts:

View scripts: manjaro, osx - ~/.tmux/

  • cmus - get current cmus track
  • mullvad - check if mullvad is running
  • battery (osx) - get osx battery, adapted from richoH
  • itunes (osx - get current itunes track, adapted from erikw

Vim (TUI editor)

View vim config: osx, manjaro - ~/.vimrc

View plugins

View colorscheme

Visual Studio Code (GUI editor)

View vscode settings - ~/Library/Application\ Support/Code/User/settings.json (osx), ~/.config/Code/User/settings.json (gnu/linux)

View vscode keybindings - ~/Library/Application\ Support/Code/User/keybindings.json, (osx), ~/.config/Code/User/keybindings.json (gnu/linux)

Plugins:

Eslint (js linter)

View eslint config - ~/.eslintrc View eslint typescript config - ~/.eslintrc-ts

Once globally installed, run anywhere:

# for js
eslint --fix .

# for ts
eslint -c ~/.eslintrc-ts --fix .

See eslint aliases for shortcuts.

Requires eslint, as well as a few plugins to be installed globally:

# for js
npm i -g eslint eslint-plugin-node eslint-plugin-unicorn eslint-plugin-json eslint-plugin-xo eslint-config-xo

# for js & ts
npm i -g eslint eslint-plugin-node eslint-plugin-unicorn eslint-plugin-json eslint-plugin-xo eslint-config-xo eslint-config-xo-typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin

For an easy start into eslint try eslint-nibble.

Git (version control)

View global gitignore: osx, manjaro - ~/.gitignore

Config commands:

git config core.ignorecase false

Apps

CLIs

npm:

name description links
fkill Interactive process killer npm github
dict-cc Dict.cc lookup from the command line npm github
tslide Terminal slide deck using markdown npm github
alder Print current directory as ascii tree npm github

npm development:

name description links
markdown-toc Generate markdown toc npm github
np Better version of 'npm publish' npm github
npm-name Check module name availability npm github
yo Run yeoman generators to create boilerplates npm github
generator-jneidel Collection of boilerplates, for installation with yeoman npm github

General:

name description links
tmux Terminal multiplexer pacman homebrew github
youtube-dl Configurable youtube downloader pacman github

General development:

name description links
grip Render readme with github styles for local testing pacman homebrew github
jq JSON processor pacman github

Browser Extensions

Browser extensions, sorted by category.

Essentials:

name description links
uBlock Origin Best free (as in freedom) adblocker firefox chrome
Vimium Navigate browser with vim shortcuts firefox chrome github
HTTPS Everywhere Force encrypted connections (HTTPS) firefox chrome

Privacy:

Firefox (nightly) is my main browser. I have it setup to delete cookies and history on exit. You can find these options under "Privacy & Security".

name description links
Privacy Badger Stop suspicious trackers firefox chrome
NoScript Block domains from executing javascript firefox
Chameleon Easily spoof user-agents & more firefox github
Decentraleyes Stop tracking through CDNs firefox
Disable WebRTC Stop IP leakage while using a VPN firefox

For an more infos on why these plugins are important view privacytools.io.

See my exported settings for some of the addons.

Coding:

Chromium is my browser for web-development.

name description links
Chrome Markdown Preview Elegant GFM preview on .md files chrome github
JSON Formatter Easy to read JSON formatting chrome github
OpenGenus quark Offline algorithm search engine chrome github
npmhub List npm dependencies in readme chrome github
Refined GitHub GitHub functional/visual upgrade chrome github
More GitHub related plugins

A comprehensive list of GitHub chrome extensions can be found here.

name description links
Octotree GitHub file tree chrome github
Vscode-icons Icons indicating file type chrome github
Lovely Forks Shows notable forks chrome github
npm-stats Display npm download stats in repo chrome github
show-email Display email on profile, even if not provided chrome github
omnibar Shortcut navigation for github chrome github
issue-link-status Colorize issue links depending on status chrome github
build-tabs Build tab for github chrome github
github-autocomplete Github search autocomplete chrome github
github-plus Display repo size, download links chrome github

Misc:

name description links
KeePassXC-Browser KeePass integration for password insert firefox chrome github
Hover Zoom+ Large overlay on image and link to image hover chrome github
StayFocusd Site blocker, limit black list to given time chrome
Toby Better bookmark manager chrome
SoundCloudOG Filter reposts out of your soundcloud stream chrome

Theme:

I use Arc Dark as I based my terminal colorscheme on it. firefox chrome

Android

F-Droid is a software repository hosting free and (mostly) open source apps. If available always try to use F-Droid over the google play store. Read more on F-Droid.

name description links
Signal Privacy friendly messaging, end to end encrypted chat g-play github
Vinyl Music Player Full featured music player f-droid g-play github
Bluelight Filter Filters the bluelight, easier on the eyes, set filter based on time g-play
dict.cc Offline dictionary g-play
FBReader Ebook reader f-droid g-play github
ES File Explorer File explorer g-play
Anki Flashcards f-droid g-play github
Markor Markdown editor, notes app f-droid g-play github
Audipo Audioplayer optimized for podcasts (speed, skipping) g-play
CamScanner Document scanner g-play
HiPER Calc Superior calculator g-play
MX Player Video player (better than vlc) g-play
My Expenses Expense/income tracker, with exports f-droid g-play github
Time Meter Smooth time tracker, with exports g-play
Relaxio White-noise player g-play

Music setup

You can find a detailed account of my music related setup here

Related

generator-jneidel - My personal collection of boilerplates, for installation with yeoman

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more