Skip to content

Instantly share code, notes, and snippets.

# Drop custom dotfiles onto a new shell
sudo apt install -y git vim
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
echo ".cfg" >> .gitignore
git clone --bare https://github.com/drxzcl/conf.git $HOME/.cfg
config checkout
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc

Keybase proof

I hereby claim:

  • I am drxzcl on github.
  • I am drxzcl (https://keybase.io/drxzcl) on keybase.
  • I have a public key whose fingerprint is C0E4 7379 A98B A35E BFBE E2D9 EF04 18F6 CA6D D8D1

To claim this, I am signing this object:

# Styled like the default prompt in Ubuntu 9.04 Jaunty
# Cloned by Steve Gargan
#
prompt_ubuntu_setup ()
{
local userhost=${1:-'green'}
local cwd=${2:-'blue'}
PS1="%B%F{$userhost}%n@%m%F{$cwd%}:%~%# %b%k%f"
PS2="> "