1 export GIT_PS1_SHOWCOLORHINTS=true
2 export GIT_PS1_SHOWUNTRACKEDFILES=true
3 export GIT_PS1_SHOWDIRTYSTATE=true
4 export GIT_PS1_SHOWSTASHSTATE=true
6 # turns on bash autocompletion
7 if [ -f /etc/profile.d/bash_completion.sh ]; then
8 . /etc/profile.d/bash_completion.sh
11 # actual theme "MATERIAL DARK"
12 #if [ "$TERM" = "linux" ]; then
13 # echo -en "\e]P0303030"
14 # echo -en "\e]P1d32f2f"
15 # echo -en "\e]P2388e3c"
16 # echo -en "\e]P3f57c00"
17 # echo -en "\e]P4303f9f"
18 # echo -en "\e]P5c51162"
19 # echo -en "\e]P61976d2"
20 # echo -en "\e]P7bdbdbd"
21 # echo -en "\e]P8424242"
22 # echo -en "\e]P9e57373"
23 # echo -en "\e]PA81c784"
24 # echo -en "\e]PBffb74d"
25 # echo -en "\e]PC7986cb"
26 # echo -en "\e]PDff4081"
27 # echo -en "\e]PE64b5f6"
28 # echo -en "\e]PFf5f5f5"
38 PS1='[\[\e[$user_color\]\u\[\e[37m\]@\[\e[34m\]\h \[\e[37m\]- \w] \d \t\n$(__git_ps1)\\$ '
42 PROMPT_COMMAND='echo -ne "\033]0;${USER}@`echo $HOSTNAME|cut -d"." -f1`: ${PWD}\007"'
50 alias ls="ls --color -lh"
54 alias chmod="chmod -v"
55 alias chown="chown -v"
56 alias apropos="wtf is"
60 alias diff='diff --color=auto'
61 alias grep='grep --color=auto'
64 export PATH=~/.local/bin:~/bin:$PATH
66 export QT_QPA_PLATFORMTHEME="lxqt"
67 export QT_STYLE_OVERRIDE="kvantum-dark"
68 export XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
73 export LESSOPEN='|~/.lessfilter %s'
76 export LESSCHARSET='latin1'
79 LESS_TERMCAP_md=$'\e[01;31m' \
80 LESS_TERMCAP_me=$'\e[0m' \
81 LESS_TERMCAP_se=$'\e[0m' \
82 LESS_TERMCAP_so=$'\e[01;44;33m' \
83 LESS_TERMCAP_ue=$'\e[0m' \
84 LESS_TERMCAP_us=$'\e[01;32m' \
88 # sudo password helper
89 export SUDO_ASKPASS=/usr/bin/lxsudo
91 # logdate appends a date to a script output
93 while IFS= read -r line; do
94 echo "$(date +"%F_%R.%S") $line"
100 if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
101 export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"
105 if [ -x "$(which gpg-connect-agent)" ]; then
106 gpg-connect-agent updatestartuptty /bye >& /dev/null