.profile.common

Fri, 25 Oct 2019 05:04:27 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 25 Oct 2019 05:04:27 -0400
changeset 813
aecd3717aa7e
parent 756
8bc91181db9d
child 835
49826fe1c850
permissions
-rw-r--r--

simplify netrw config

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

umask 027

make -s -C ~/.ssh || {
  cat ~/.ssh/config.d/* > ~/.ssh/config &&
  chmod 600 $_
}

export MANPATH=$HOME/.man:

export EDITOR=vim
export SUDO_EDITOR=$HOME/bin/privim
export LESS='Ri'
export GPG_TTY="$(tty)"

export PERL_CPANM_OPT='-nq --prompt'
export DEVEL_REPL_PROFILE='Standard'

export ASDF_CONCURRENCY='2'
export RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --enable-install-doc"

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