From ab262619240b22ba9b3f267ae6783ee9efbce61f Mon Sep 17 00:00:00 2001 From: Harish Karumuthil Date: Mon, 18 Sep 2023 13:56:22 +0530 Subject: [PATCH] Update --- home/.bashrc | 53 +++++++++++++++++++++++++++++++++++++++++++--------- home/.wgetrc | 1 + 2 files changed, 45 insertions(+), 9 deletions(-) create mode 100644 home/.wgetrc diff --git a/home/.bashrc b/home/.bashrc index b4b7ce5..aa35d8e 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -2,20 +2,55 @@ # Source global definitions if [ -f /etc/bashrc ]; then - . /etc/bashrc + . /etc/bashrc fi -# Uncomment the following line if you don't like systemctl's auto-paging feature: -# export SYSTEMD_PAGER= +# 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 PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] ' + 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 OPENAI_KEY=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 + 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 + + +. /usr/share/fzf/shell/key-bindings.bash +. $HOME/Projects/Github/dotFiles/home/.local/Apps/daily-utils/hari-autocomplete.sh + +#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\] ' -export NVM_DIR="$HOME/.nvm" 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 + [ -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 TIME_STYLE=long-iso -. /usr/share/fzf/shell/key-bindings.bash diff --git a/home/.wgetrc b/home/.wgetrc new file mode 100644 index 0000000..1d66a98 --- /dev/null +++ b/home/.wgetrc @@ -0,0 +1 @@ +user_agent = Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0