.profile.common

Mon, 12 Jun 2017 18:20:55 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 12 Jun 2017 18:20:55 -0400
changeset 603
ae87c045d04b
parent 571
5dfc85243b54
child 605
96cef8773963
permissions
-rw-r--r--

Simplify directory setup

# simple profile stuff that is common to both zsh and bash

umask 027

make -s -C ~/.ssh ||
  cat .ssh/config.d/* > .ssh/config

export EDITOR=vim
export SUDO_EDITOR=$HOME/bin/privim
export LESS='Ri'
export PERL_CPANM_OPT='-nq --prompt'
export DEVEL_REPL_PROFILE='Standard'

alias hgcd='cd $(hg root)'
alias gcd='cd "$(git rev-parse --show-toplevel)"'

alias tmux-env='eval "$(tmux show-environment -s)"'
alias :e=vim
alias :q=exit

if [ -d ~/.asdf ]; then
  source ~/.asdf/asdf.sh
fi

if [ -f ~/.profile.common.local ]; then
  source ~/.profile.common.local
fi

mercurial