summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2022-07-26 21:51:32 +0200
committeryuzu-eva <stevenhu@web.de>2022-07-26 21:51:32 +0200
commitd489940d5cb1bfe4ea8aa813ee767d516ca573d5 (patch)
tree39b6dedb6f5453b9578b0b072f8a9ada453d1061
parent5f60777bb3fd347d8233fa58d192856f1c5d406a (diff)
slight update
-rwxr-xr-x.bash_profile15
-rw-r--r--.bashrc15
-rw-r--r--.config/kitty/kitty.conf2
3 files changed, 22 insertions, 10 deletions
diff --git a/.bash_profile b/.bash_profile
new file mode 100755
index 0000000..2f4c170
--- /dev/null
+++ b/.bash_profile
@@ -0,0 +1,15 @@
+# Add various paths
+export PATH="$PATH:usr/local/lib:$HOME/.cargo/bin:$HOME/.local/bin"
+
+# Path for Android Development
+export ANDROID_HOME=$HOME/Android/Sdk
+export PATH=$PATH:$ANDROID_HOME/emulator
+export PATH=$PATH:$ANDROID_HOME/tools
+export PATH=$PATH:$ANDROID_HOME/tools/bin
+export PATH=$PATH:$ANDROID_HOME/platform-tools
+
+[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
+
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
+
+. "$HOME/.cargo/env"
diff --git a/.bashrc b/.bashrc
index cd2b989..45cb305 100644
--- a/.bashrc
+++ b/.bashrc
@@ -3,20 +3,17 @@
# / __| / _' | |_ / _ \| _ \ / _' | _ \ / _ \
# | |__ / (_| | _| __/| |_) / (_| | |_) | __/
# \___|\___._/_| \___/|____/\___._/____/ \___/
-#
-# Add various paths
-export PATH="$PATH:usr/local/lib:$HOME/.cargo/bin"
+umask 77
-# Path for Android Development
-export ANDROID_HOME=$HOME/Android/Sdk
-export PATH=$PATH:$ANDROID_HOME/emulator
-export PATH=$PATH:$ANDROID_HOME/tools
-export PATH=$PATH:$ANDROID_HOME/tools/bin
-export PATH=$PATH:$ANDROID_HOME/platform-tools
+export TERM=xterm-kitty
export LC_ALL=en_US.UTF-8
+if [ -f "/etc/profile.d/rvm.sh" ]; then
+ source /etc/profile.d/rvm.sh
+fi
+
# If not running interactively, don't do anything
case $- in
*i*) ;;
diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf
index 06f55a6..174ff39 100644
--- a/.config/kitty/kitty.conf
+++ b/.config/kitty/kitty.conf
@@ -1030,7 +1030,7 @@ dim_opacity 0.75
#: Advanced {{{
-shell .
+shell bash --login
#: The shell program to execute. The default value of . means to use
#: whatever shell is set as the default shell for the current user.