-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bashrc
48 lines (39 loc) · 1.31 KB
/
.bashrc
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# ~/.bashrc
#
# If not running interactively, don't do anything.
[[ $- != *i* ]] && return
# Do not murder the TERM variable... haha, I lie, it is already dead but we can resuscitate it.
# Except if you do this, vte behaves worse than it does with xterm, and I don't know why :/
#if [[ -v GUAKE_TAB_UUID && "$TERM" = xterm ]]; then
# export TERM="vte-256color"
#fi
# Configure the prompt.
PS1='[\u@\h \w]\$ '
# Pull in bash alias definitions, if they exist.
[[ -f ~/.bash_aliases ]] && . ~/.bash_aliases
# Keep bash history
HISTSIZE=1000
HISTFILESIZE=5000
HISTCONTROL=ignoreboth
shopt -s histappend # Don't overwrite
# Don't mangle resized windows.
shopt -s checkwinsize
# I never use this and it breaks double-quoted "!" in weird and bizarre ways.
set +o histexpand
# Search repos for unknown commands.
. /usr/share/doc/pkgfile/command-not-found.bash
#Environment variables.
export EDITOR=vim
export CALIBRE_SHOW_DEPRECATION_WARNINGS=1
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
export GCC_COLORS=1
# Disable WINE menu items.
export WINEDLLOVERRIDES=winemenubuilder.exe=d
export QT_STYLE_OVERRIDE=Fusion
export QT_QPA_PLATFORMTHEME=gtk2
#Syntax highlighting in less
export LESSOPEN="| src-hilite-lesspipe.sh %s"
export LESS="-R --ignore-case --hilite-search"
export SYSTEMD_LESS="${LESS}"