diff options
author | tdro <tdro@users.noreply.github.com> | 2020-04-05 19:02:36 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-04-05 19:04:53 -0400 |
commit | cf2633580599698bbae2448ea14f8de92a36de4f (patch) | |
tree | 2e9d857f760747ab80ef84b1d93eeeb4cce62fd6 /.bash_profile | |
parent | 41565bad783d1c74be8ab17d83bea8dcbc222c4f (diff) | |
download | dotfiles-cf2633580599698bbae2448ea14f8de92a36de4f.tar.gz dotfiles-cf2633580599698bbae2448ea14f8de92a36de4f.tar.bz2 dotfiles-cf2633580599698bbae2448ea14f8de92a36de4f.zip |
.bashrc: Move exports to profile
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/.bash_profile b/.bash_profile index 449b9f9..89a1484 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,5 +1,23 @@ -# ~/.bash_profile +#!/bin/bash -[[ $XDG_VTNR -ne 1 ]] && . ~/.bashrc; +# auto login +[ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] && exec startx >/dev/null 2>&1; -[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx &> /dev/null; +# general exports +export EDITOR=vim +export TERMINAL=urxvt +export PROMPT_COMMAND="cd .; history -a" +export HISTSIZE= +export HISTFILESIZE= +export HISTCONTROL=ignoredups:erasedups +export LESSHISTFILE=$HOME/.cache/less.history +export SUDO_ASKPASS=$HOME/.local/bin/rofi-askpass + +# fzf settings +export FZF_DEFAULT_OPTS="--color=fg:255,hl:9 \ + --color=fg+:81,bg+:237,hl+:9 \ + --color=info:188,prompt:69,pointer:199 \ + --color=marker:109,spinner:236,header:255" + +# source frequently changed files +. /etc/profile.d/theme.sh |