aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile19
1 files changed, 13 insertions, 6 deletions
diff --git a/.bash_profile b/.bash_profile
index d295098..1568113 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -10,14 +10,8 @@ prefixPath() {
}
prefixPath "$HOME/.local/bin"
-prefixPath "$HOME/.local/bin/scripts"
prefixPath "$HOME/.local/bin/wrappers"
-# auto login
-[ "$EUID" != 0 ] && [ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] \
- && command -v nix && nix-xorg-conf > "$HOME"/.config/X11/xorg.conf.d/00-modules.conf \
- && exec sx
-
umask 0022
PS1_USER='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;34m\]\W\[\e[0m\] \[\e[0;34m\]\$\[\e[0m\] '
@@ -41,13 +35,20 @@ export TERMINAL=urxvt
export DESKTOP_SESSION=gnome
export XDG_CURRENT_DESKTOP=gnome
+export ANSIBLE_CONFIG="$XDG_CONFIG_HOME/ansible/ansible.cfg"
+export ANSIBLE_GALAXY_CACHE_DIR="$XDG_CACHE_HOME/ansible/galaxy_cache"
+export ANSIBLE_HOME="$XDG_CONFIG_HOME/ansible"
export CARGO_HOME="$XDG_CACHE_HOME/cargo"
+export DENO_DIR=vendor
+export DENO_INSTALL_ROOT=bin
+export DENO_NO_UPDATE_CHECK=1
export DOWNLOAD_KEYSERVER="hkp://keyserver.ubuntu.com"
export ELECTRUMDIR="$XDG_DATA_HOME/electrum"
export FZF_DIRECTORY_MARKS=$XDG_CONFIG_HOME/fzf/marks/directories
export FZF_FILE_MARKS=$XDG_CONFIG_HOME/fzf/marks/files
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export GOPATH="$XDG_DATA_HOME/go"
+export GOPROXY=direct
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export GTK_OVERLAY_SCROLLING=0
export HISTCONTROL=ignoreboth:erasedups
@@ -77,6 +78,7 @@ command -v rsvg-convert > /dev/null 2>&1 && \
export GDK_PIXBUF_MODULE_FILE
export FZF_DEFAULT_OPTS="\
+ --no-separator \
--inline-info \
--color=fg:255,hl:203 \
--color=fg+:81,bg+:237,hl+:203 \
@@ -84,3 +86,8 @@ export FZF_DEFAULT_OPTS="\
--color=marker:109,spinner:236,header:255"
[ -z "$BASH_PROFILE" ] && . "$HOME/.bashrc"
+
+[ "$EUID" != 0 ] && [ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] \
+ && command -v nix && nix-xorg-conf > "$HOME"/.config/X11/xorg.conf.d/00-modules.conf \
+ && { [ "$(systemctl --user is-enabled redshift)" = "enabled" ] && systemctl --user restart redshift & } \
+ && exec sx