mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 07:11:09 +00:00
Cleanup bashrc
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
# .bash_profile
|
||||
|
||||
# Get the aliases and functions
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
|
||||
# User specific environment and startup programs
|
||||
+1
-39
@@ -5,42 +5,6 @@ if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
# User specific environment
|
||||
if [[ -z $HOME_BASH_RC_LOAD ]]
|
||||
then
|
||||
PATH="$HOME/.node_modules_mine/node_modules/.bin:$PATH";
|
||||
PATH="$HOME/.local/bin:$PATH";
|
||||
PATH="$HOME/go/bin:$PATH";
|
||||
PATH="$HOME/.linuxbrew/bin:$PATH";
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||
PATH="$PATH:$HOME/.local/Apps/flutter/bin"
|
||||
export PATH
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
export DENO_INSTALL="/home/harish/.deno"
|
||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
||||
export TIME_STYLE=long-iso
|
||||
export TCLLIBPATH=~/.local/share/tkthemes
|
||||
export ANDROID_HOME=/home/harish/.local/Apps/android-sdk
|
||||
|
||||
export GTK_IM_MODULE=ibus
|
||||
export XMODIFIERS=@im=ibus
|
||||
export QT_IM_MODULE=ibus
|
||||
unset rc
|
||||
export SYSTEMD_PAGER=
|
||||
|
||||
# User specific aliases and functions
|
||||
# if [ -d ~/.bashrc.d ]; then
|
||||
# for rc in ~/.bashrc.d/*; do
|
||||
# if [ -f "$rc" ]; then
|
||||
# . "$rc"
|
||||
# fi
|
||||
# done
|
||||
# fi
|
||||
|
||||
export HOME_BASH_RC_LOAD=1
|
||||
fi
|
||||
|
||||
|
||||
if [[ -f /usr/share/fzf/shell/key-bindings.bash ]]; then
|
||||
. /usr/share/fzf/shell/key-bindings.bash
|
||||
@@ -53,8 +17,6 @@ fi
|
||||
#export PS1='\e[1;36;40m[\u@\h\e[1;33;40m \W]\e[0;37;40m\$ '
|
||||
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
|
||||
|
||||
nvmLoad(){
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
}
|
||||
|
||||
export EDITOR=vim
|
||||
|
||||
Regular → Executable
+17
-32
@@ -1,40 +1,26 @@
|
||||
# Sample .profile for SuSE Linux
|
||||
# rewritten by Christian Steinruecken <cstein@suse.de>
|
||||
#
|
||||
# This file is read each time a login shell is started.
|
||||
# All other interactive shells will only read .bashrc; this is particularly
|
||||
# important for language settings, see below.
|
||||
|
||||
test -z "$PROFILEREAD" && . /etc/profile || true
|
||||
|
||||
# Most applications support several languages for their output.
|
||||
# To make use of this feature, simply uncomment one of the lines below or
|
||||
# add your own one (see /usr/share/locale/locale.alias for more codes)
|
||||
# This overwrites the system default set in /etc/sysconfig/language
|
||||
# in the variable RC_LANG.
|
||||
#
|
||||
#export LANG=de_DE.UTF-8 # uncomment this line for German output
|
||||
#export LANG=fr_FR.UTF-8 # uncomment this line for French output
|
||||
#export LANG=es_ES.UTF-8 # uncomment this line for Spanish output
|
||||
|
||||
|
||||
# Some people don't like fortune. If you uncomment the following lines,
|
||||
# you will have a fortune each time you log in ;-)
|
||||
|
||||
#if [ -x /usr/bin/fortune ] ; then
|
||||
# echo
|
||||
# /usr/bin/fortune
|
||||
# echo
|
||||
#fi
|
||||
if test -z "$USER_PROFILEREAD"; then
|
||||
|
||||
export PATH="$HOME/node_modules/.bin:$HOME/.local/bin:$PATH";
|
||||
export PATH+=:"$HOME/go/bin";
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
PATH="$HOME/.node_modules_mine/node_modules/.bin:$PATH";
|
||||
PATH="$HOME/.local/bin:$PATH";
|
||||
PATH="$HOME/go/bin:$PATH";
|
||||
PATH="$HOME/.cargo/bin:$PATH"
|
||||
PATH="$HOME/.linuxbrew/bin:$PATH";
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||
PATH="$PATH:$HOME/.local/Apps/flutter/bin"
|
||||
PATH="$PYENV_ROOT/bin:$PATH"
|
||||
export PATH
|
||||
|
||||
export DENO_INSTALL="/home/harish/.deno"
|
||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
||||
export TIME_STYLE=long-iso
|
||||
export TCLLIBPATH=$HOME/.local/share/tkthemes
|
||||
export ANDROID_HOME=$HOME/.local/Apps/android-sdk
|
||||
export SYSTEMD_PAGER=
|
||||
|
||||
export INPUT_METHOD=ibus
|
||||
export GTK_IM_MODULE=ibus
|
||||
@@ -42,5 +28,4 @@ export XMODIFIERS=@im=ibus
|
||||
export QT_IM_MODULE=ibus
|
||||
|
||||
export USER_PROFILEREAD=1
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user