small pixel drawing of a pufferfish dotfiles

.shinit

#!/bin/sh

if test -z "${XDG_RUNTIME_DIR}"; then
    export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
    if ! test -d "${XDG_RUNTIME_DIR}"; then
        mkdir "${XDG_RUNTIME_DIR}"
        chmod 0700 "${XDG_RUNTIME_DIR}"
    fi
fi

export EDITOR=vim
export PS1='$(short-pwd)$ '
export HISTFILESIZE=10000

export PASH_KEYID=j3s@c3f.net
export PASH_DIR="$HOME/.password-store"

# general
alias vi=vim
alias gj='git add . ; git commit -m "*" ; git push'

# mksh
if echo "$SHELL" | grep -q "mksh"; then
  bind '^L=clear-screen'
  export HISTFILE="$HOME/.mksh-history"
fi

# bby
if [ "$(uname -s)" == "Darwin" ]; then
  alias cdr='cd $(find ~/git/chef/cloud-roles ~/git/chef/site-cookbooks ~/git/chef/app-cookbooks ~/git/chef/dc-roles -type d -maxdepth 1 | selecta)'
  alias be='bundle exec'
  export CHEFUSER="jolson"
  export CHEF_ENV="browse_test" # just for .chef/config.rb
  export AWS_ENV="browse_test"  # just for aws cli
  export SSHUSER="jolson"
  export SSHKEY="~/.ssh/id_rsa"
  export PASH_CLIP="pbcopy"
  source /usr/local/share/chruby/chruby.sh
  chruby ruby-2.6.2
fi