about summary refs log tree commit diff stats
path: root/.config/bash/rc
blob: 24450796a048b6af1dc366501943381cd541cdad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# vim: ft=sh

shopt -s autocd
shopt -s histappend

bind 'set bell-style visible'
bind 'set completion-ignore-case on'
bind 'set show-mode-in-prompt on'
bind 'set expand-tilde on'

# vi mode stuff
set -o vi
bind -m vi-insert "\C-l":clear-screen
bind -m vi-command "\C-l":clear-screen

export XDG_CONFIG_HOME="$HOME/.config" XDG_CACHE_HOME="$HOME/.cache" XDG_DATA_HOME="$HOME/.local/share" XDG_STATE_HOME="$HOME/.local/state"

export EDITOR="nvim" VISUAL="nvim"
export GNUPGHOME="$XDG_DATA_HOME/gnupg" PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" HISTFILE="$XDG_STATE_HOME/bash/history" INPUTRC="$XDG_CONFIG_HOME/readline/inputrc"

export GPG_TTY=$(tty)

source "$HOME/.config/bash/aliases"
source "$HOME/.config/bash/functions"
source "$HOME/.config/bash/prompt"