summaryrefslogtreecommitdiff
path: root/.bash_profile
blob: f7c29eb91ce2962ae340e5fdd215720ce8d0d32b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This file is sourced by bash for login shells.  The following line 
# runs your .bashrc and is recommended by the bash info pages. 
[[ -f ~/.bashrc ]] && . ~/.bashrc
 
EDITOR=vi
export EDITOR
 
source ~/perl5/perlbrew/etc/bashrc
export PATH="${HOME}/bin:${PATH}"
 
function pm() {
    local fn
    local ex
    fn="$(perldoc -l "$1")"
    ex=$?
    if [[ $ex != 0 ]]; then
        return $ex
    fi
    emacsclient -c -n "$fn"
}