⚡ refacts bash/profile setup
This commit is contained in:
46
.profile
46
.profile
@@ -1,41 +1,9 @@
|
||||
# ~/.profile: executed by the command interpreter for login shells.
|
||||
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
||||
# exists.
|
||||
# see /usr/share/doc/bash/examples/startup-files for examples.
|
||||
# the files are located in the bash-doc package.
|
||||
|
||||
# the default umask is set in /etc/profile; for setting the umask
|
||||
# for ssh logins, install and configure the libpam-umask package.
|
||||
#umask 022
|
||||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
export APPMENU_DISPLAY_BOTH=1
|
||||
if [ -z "$UBUNTU_MENUPROXY" ]
|
||||
then
|
||||
UBUNTU_MENUPROXY=1
|
||||
fi
|
||||
export GTK_MODULES
|
||||
export UBUNTU_MENUPROXY
|
||||
|
||||
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"
|
||||
[ -f /home/jaandrle/.bash/.profile_androidsdk ] && . /home/jaandrle/.bash/.profile_androidsdk
|
||||
|
||||
# Added by Toolbox App
|
||||
export PATH="$PATH:/home/jaandrle/.local/share/JetBrains/Toolbox/scripts"
|
||||
|
||||
# Added by LM Studio CLI (lms)
|
||||
export PATH="$PATH:/home/jaandrle/.lmstudio/bin"
|
||||
# End of LM Studio CLI section
|
||||
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login exists.
|
||||
# See /usr/share/doc/bash/examples/startup-files for examples. the files are located in the bash-doc package.
|
||||
# The default umask is set in /etc/profile; for setting the umask for ssh logins, install and configure the libpam-umask package. `umask 022`
|
||||
|
||||
[[ -n "$BASH_VERSION" && -f "$HOME/.bashrc" ]] \
|
||||
&& source "$HOME/.bashrc"
|
||||
[[ -f "$HOME/.bash/system/index.sh" ]] \
|
||||
&& source "$HOME/.bash/system/index.sh"
|
||||
|
||||
Reference in New Issue
Block a user