initial commit
This commit is contained in:
commit
d5ca23a06c
|
@ -0,0 +1,7 @@
|
||||||
|
#
|
||||||
|
# ~/.bash_profile
|
||||||
|
#
|
||||||
|
|
||||||
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
|
source /home/ray/.config/broot/launcher/bash/br
|
|
@ -0,0 +1,17 @@
|
||||||
|
export SHELL_CONFIG="$SHELL_CONFIG:.bashrc"
|
||||||
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
export HISTCONTROL=ignoreboth:erasedups
|
||||||
|
|
||||||
|
PS1='[\u@\h \W]\$ '
|
||||||
|
|
||||||
|
source ~/.profile
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -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
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -e "$HOME/.bash_profile" ] ; then
|
||||||
|
mv "$HOME/.bash_profile" "$HOME/bash_profile-original-$(date +%s)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e "$HOME/.bashrc" ] ; then
|
||||||
|
mv "$HOME/.bashrc" "$HOME/bashrc-original-$(date +%s)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
ln -s "$HOME/.config/bash/bash_profile" "$HOME/.bash_profile"
|
||||||
|
ln -s "$HOME/.config/bash/bashrc" "$HOME/.bashrc"
|
Loading…
Reference in New Issue