The Wayback Machine - https://web.archive.org/web/20230105214833/https://github.com/arusso/dotfiles
Skip to content

arusso/dotfiles

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
ext
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Introduction

Welcome to my dotfiles. I try to keep them tidy, but you know, they are just 'aight. They're largely bash, vim, git and tmux centric.

Highlights

  • Supports gpg-agent as an alternative to ssh-agent when installed
  • Displays battery percentage on OSX for Systems with a battery installed

Installation

  1. Using install script

(requires python + pyyaml)

Create an install.yml (or copy the example) and run ./install.

  1. Symlink desired files into place.

Configuration

The behavior of our environment can be controlled by setting any one of these variables in $HOME/.config/dotfiles/config

  • PROMPT_SIMPLE: (Default: 0) Use a simple prompt
  • PROMPT_BATTERY_STATUS: (Default: 1) On supported hosts, show battery status on prompt. This has no effect if PROMPT_SIMPLE=1.
  • PROMPT_NONZERO_RC: (Default: [✘]) Added to prompt if RC of last command is not 0
  • PROMPT_ZERO_RC: (Default: [✓]) Added to prompt if RC of last command is 0
  • SSH_AGENT_MODE: (Default: bastion) Set the operation mode of our SSH environment
  • SSH_AGENT_NAME: (Default: gpg-agent) Select the agent to use
  • SSH_AGENT_SSH_AUTH_SOCK: (Default: $HOME/.ssh_auth_sock) What to set SSH_AUTH_SOCK
  • SSH_AGENT_CACHE_TTL: (Default: 1800) How long (in seconds) that an agent caches a key.

TODO

  • Create a configuration utility to help set various flags