changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > home / .bashrc

changeset 10: 72c5d8f26db2
parent: 2cd49f7c09bb
child: 614d9cfe96a2
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 14 May 2024 14:44:30 -0400
permissions: -rw-r--r--
description: bump
1 # .bashrc --- bash configuration
2 # Set prompt
3 PS1="\u [\!]:\t:\w\n >> \[\e[0m\]"
4 # default Envs
5 export LISP='sbcl'
6 export ESHELL='/usr/bin/bash'
7 export ORGANIZATION='The Compiler Company'
8 export TERM='xterm-256color'
9 export MANPATH="/usr/local/man:$MANPATH"
10 export LANG=en_US.UTF-8
11 export ALTERNATE_EDITOR=''
12 export EDITOR='emacsclient -t -a='
13 export VISUAL='emacsclient -c'
14 # sudo pacman -Sy seahorse libgnome-keyring libsecret
15 #export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
16 # git config --global credential.helper /usr/lib/git-core/git-credential-libsecret
17 export XDG_CONFIG_HOME=$HOME/.config
18 export XDG_CACHE_HOME=$HOME/.cache
19 export XDG_DATA_HOME=$HOME/.data
20 export XDG_STATE_HOME=$HOME/.state
21 export XDG_STATE_HOME=$HOME/.state
22 export XDG_DESKTOP_DIR=$HOME/Desktop
23 export XDG_DOCUMENTS_DIR=$HOME/stash/docs
24 export XDG_DOWNLOAD_DIR=$HOME/stash/dl
25 export XDG_MUSIC_DIR=$HOME/media/music
26 export XDG_PICTURES_DIR=$HOME/media/pictures
27 export XDG_PUBLICSHARE_DIR=$HOME/stash/public
28 export XDG_TEMPLATES_DIR=$HOME/stash/templates
29 export XDG_VIDEOS_DIR=$HOME/media/videos
30 # custom configs
31 export FREESOUND_CONFIG="~/.config/freesound.json"
32 export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
33 # aliases
34 eman() {
35  emacsclient -c -e "(man \"$1\")"
36 }
37 
38 alias ec='emacsclient -c -a='
39 alias et='emacsclient -t -a='
40 alias lr='rlwrap sbcl'
41 alias hgpu='hg pull -u'
42 alias hgc='hg ci -m'
43 alias hgp='hg push'
44 alias hgfe='hg-fast-export.sh'
45 # VCS
46 alias hgsub='find . -name ".hg" -type d | grep -v "\./\.hg" | xargs -n1 dirname | xargs -iREPO hg -R REPO'
47 
48 alias q='QHOME=~/q rlwrap -r ~/q/l64/q'
49 alias ..='cd ..'
50 complete -c man which