Skip to content

bendilley/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c3cda13 · Mar 28, 2024

History

67 Commits
Feb 2, 2016
Feb 25, 2022
Mar 4, 2024
Mar 28, 2024
Sep 16, 2022
Feb 25, 2022
Sep 16, 2022
Nov 15, 2015
Feb 4, 2022
Feb 2, 2016
Apr 21, 2016
Feb 2, 2016
Mar 1, 2024
May 12, 2021
Feb 25, 2022

Repository files navigation

Install homebrew and

brew install bash-completion pwgen

I'm using zsh for kubectl completion (which is pretty essential for working with k8s).

  • Install omyzsh with curl:
    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  • Install Docker Desktop for this (which includes kubectl for Kubernetes).
cd ~
ln -s workspace/dotfiles/.bashrc
ln -s workspace/dotfiles/.bash_profile
ln -s workspace/dotfiles/.bash_aliases
# and put any system-specific settings in ~/.profile

# zsh is the only shell to support kubectl completion atm
# You'll have to move the .zshrc out of the way which omyzsh installed
ln -s workspace/dotfiles/.zshrc

ln -s workspace/dotfiles/.vim
ln -s workspace/dotfiles/.vimrc
ln -s workspace/dotfiles/.psqlrc
ln -s workspace/dotfiles/.abcde.conf
ln -s workspace/dotfiles/.flac2mp3.conf

ln -s workspace/dotfiles/.gitconfig-includes
git config --global user.name "John Doe"
git config --global user.email [email protected]
git config --global include.path ~/.gitconfig-includes

cd ~/bin
ln -s ../workspace/dotfiles/bin/flac2mp3
ln -s ../workspace/dotfiles/bin/flac2mp3-rips-conversions
ln -s ../workspace/dotfiles/bin/kill-matching
ln -s ../workspace/dotfiles/bin/repomd-fix

cd ~/Library
ln -s ../workspace/dotfiles/Library/KeyBindings

To fix Home and End keys in terminal:

  1. Terminal > Preferences > Profiles > Keyboard
  2. Add mappings for Home to 'Send text' of \033OH and End to \033OF
  3. Add mappings for Page Up to \033[5~ and Page Down to \033[6~ - this helps with vim for example.

(courtesy of http://apple.stackexchange.com/a/16137/11680)

To enable dark mode for individual apps in macOS Mojave onwards:

defaults write com.sublimetext.3 NSRequiresAquaSystemAppearance 0
defaults write com.macromates.TextMate NSRequiresAquaSystemAppearance 0
defaults write org.whispersystems.signal-desktop NSRequiresAquaSystemAppearance 0
defaults write com.tinyspeck.slackmacgap NSRequiresAquaSystemAppearance 0
defaults write com.coppertino.Vox NSRequiresAquaSystemAppearance 0
defaults write com.google.Chrome NSRequiresAquaSystemAppearance 0
defaults write com.postmanlabs.mac NSRequiresAquaSystemAppearance 0

(you can use osascript -e 'id of app "App Name"' to identify an app)

About

My dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published