changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > home / .bashrc

changeset 83: 8bd50ea9a546
parent: 614d9cfe96a2
author: Richard Westhaver <ellis@rwest.io>
date: Mon, 12 Aug 2024 21:50:44 -0400
permissions: -rw-r--r--
description: zor updates
1 # .bashrc --- bash configuration
2 # Set prompt
3 PS1="\u [\!]:\t:\w\n >> \[\e[0m\]"
4 
5 export PYTHON=python3.11
6 export PYENV_ROOT="$HOME/.pyenv"
7 export PATH="$PYENV_ROOT/bin:$PATH"
8 export PATH="$HOME/go/bin:$HOME/.nimble/bin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/bin:$PATH"
9 
10 if ! shopt -oq posix; then
11  if [ -f /usr/share/bash-completion/bash_completion ]; then
12  . /usr/share/bash-completion/bash_completion
13  elif [ -f /etc/bash_completion ]; then
14  . /etc/bash_completion
15  fi
16 fi
17 
18 eval "$(pyenv init --path)"
19 if command -v rhg>>/dev/null; then alias hg='rhg';fi
20 . "$HOME/.cargo/env"
21 
22 # default Envs
23 export LISP='sbcl'
24 export ESHELL='/usr/bin/bash'
25 export ORGANIZATION='The Compiler Company'
26 export MANPATH="/usr/local/man:$MANPATH"
27 export LANG=en_US.UTF-8
28 export ALTERNATE_EDITOR=''
29 export EDITOR='emacsclient -a='
30 # sudo pacman -Sy seahorse libgnome-keyring libsecret
31 #export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
32 # git config --global credential.helper /usr/lib/git-core/git-credential-libsecret
33 export XDG_CONFIG_HOME=$HOME/.config
34 export XDG_CACHE_HOME=$HOME/.cache
35 
36 # aliases
37 eman() {
38  emacsclient -t -e "(man \"$1\")" -a=
39 }
40 
41 eww() {
42  emacsclient -t -e '(eww-browse-url "'"$1"'")' -a=
43 }
44 alias em='emacsclient -a='
45 alias ec='emacsclient -c -a='
46 alias et='emacsclient -t -a='
47 alias skm='skel make'
48 alias hmi='homer install'
49 alias lisp='rlwrap sbcl'
50 alias hgpu='hg pull -u'
51 alias hgc='hg ci -m'
52 alias hgp='hg push'
53 
54 # VCS
55 alias hgsub='find . -name ".hg" -type d | grep -v "\./\.hg" | xargs -n1 dirname | xargs -iREPO hg -R REPO'
56 
57 alias q='QHOME=~/q rlwrap -r ~/q/l64/q'
58 alias ..='cd ..'
59 
60 complete -c man which