.profile.common

Tue, 10 Mar 2020 18:32:36 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 10 Mar 2020 18:32:36 -0400
changeset 851
b8501cb649b6
parent 837
b3e5b49e29c3
child 890
fe8cbacbbb5d
permissions
-rw-r--r--

automatically try to pick up local::lib

# vim: ft=bash
# 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"

if [ -d ~/perl5/lib ]; then
  eval "$(perl -Mlocal::lib)"
fi

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

alias l='ls -lFh'     #size,show type,human readable
alias la='ls -lAFh'   #long list,show almost all,show type,human readable
alias lt='ls -ltFh'   #long list,sorted by date,show type,human readable
alias ll='ls -l'      #long list
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

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 [ -f ~/.profile.common.local ]; then
  source ~/.profile.common.local
fi

mercurial