aboutsummaryrefslogtreecommitdiff
path: root/files/rcs
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-10-29 20:03:46 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-10-29 20:03:46 +0100
commit0f43850d545f0768ef37161faea0b5449aadb749 (patch)
treeb6959be3f20e4d656c14acaac5473188ac32236e /files/rcs
parent4d272380c76ef36556b5eafe9830c842a49ed0a1 (diff)
downloadconfigs-0f43850d545f0768ef37161faea0b5449aadb749.tar.gz
configs-0f43850d545f0768ef37161faea0b5449aadb749.zip
Minor changes.
Diffstat (limited to 'files/rcs')
-rw-r--r--files/rcs/.bash_vars8
-rw-r--r--files/rcs/.bashrc1
-rw-r--r--files/rcs/.profile9
3 files changed, 12 insertions, 6 deletions
diff --git a/files/rcs/.bash_vars b/files/rcs/.bash_vars
index 4a4a997..59bd4a5 100644
--- a/files/rcs/.bash_vars
+++ b/files/rcs/.bash_vars
@@ -24,7 +24,7 @@ export CONFIG_FOLDER_LOGS="$HOME/logs"
export XDG_CONFIG_HOME="$HOME/.config"
# Colors for grep
-export GREP_COLORS='ms=04;32;49:mc=04;32;49:sl=:cx=:fn=35:ln=34:bn=34:se=36'
+export GREP_COLORS='ms=04;32;49:mc=04;32;49:sl=:cx=:fn=01;34;49:ln=34:bn=34:se=36'
# Colors for gcc
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
@@ -34,7 +34,7 @@ export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quo
################
# java
-export JAVA_HOME="/usr/lib/jvm/java-8-openjdk"
+export JAVA_HOME="/usr/lib/jvm/default/"
PATH="${PATH}:${JAVA_HOME}/bin"
# add scripts folder to path
@@ -45,6 +45,10 @@ PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
# add cargo bins folder to path
PATH="$PATH:$HOME/.cargo/bin"
+
+# add pip local bins to path
+PATH="$PATH:$HOME/.local/bin"
+
# export final PATH
export PATH
diff --git a/files/rcs/.bashrc b/files/rcs/.bashrc
index 19af209..85b0a96 100644
--- a/files/rcs/.bashrc
+++ b/files/rcs/.bashrc
@@ -58,6 +58,5 @@ wd="$pur"
umode="$blue"
PS1="${keys}[${pur}\u${keys}@${pur}\h${keys}]${wd}\w${umode}\$${def} "
-# Alias definitions.
# Aliases are defined in $HOME/.bash_aliases for convenience.
[ -f "$HOME/.bash_aliases" ] && . "$HOME/.bash_aliases"
diff --git a/files/rcs/.profile b/files/rcs/.profile
index 5b7e441..bb116d9 100644
--- a/files/rcs/.profile
+++ b/files/rcs/.profile
@@ -9,9 +9,7 @@
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
- if [ -f "$HOME/.bashrc" ]; then
- . "$HOME/.bashrc"
- fi
+ [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
fi
# Source environment variables
@@ -32,6 +30,11 @@ elif [ "$(tty)" = "/dev/tty3" ] && [ ! "$(pgrep -x xfce4-session)" ]; then
cat "$HOME/.xinitrcxfce4" > "$HOME/.xinitrc"
neofetch --config "$XDG_CONFIG_HOME/neofetch/neofetchLogin.conf"
exec startx >"$CONFIG_FOLDER_LOGS/startx.log" 2>"$CONFIG_FOLDER_LOGS/startxerr.log"
+elif [ "$(tty)" = "/dev/tty4" ] && [ ! "$(pgrep -x gnome-session)" ]; then
+ echo ""
+ cat "$HOME/.xinitrcgnome" > "$HOME/.xinitrc"
+ neofetch --config "$XDG_CONFIG_HOME/neofetch/neofetchLogin.conf"
+ exec startx >"$CONFIG_FOLDER_LOGS/startx.log" 2>"$CONFIG_FOLDER_LOGS/startxerr.log"
elif [ "$(tty | egrep -e "/dev/tty.*")" ]; then
tmux new -s "$(tty | cut -d'/' -f3)"
fi