Move ps1 to install of its own
This commit is contained in:
parent
e13d66eb50
commit
27f02aaf9c
2 changed files with 1 additions and 6 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
gitignore_*
|
6
bash_rc
6
bash_rc
|
@ -20,12 +20,6 @@ export PATH="${PATH}:${HOME}/bin:/usr/local/bin:/usr/local/sbin"
|
|||
|
||||
export EDITOR=nano
|
||||
|
||||
# My PS1 customization
|
||||
mkdir -p "${HOME}/src"
|
||||
if [ ! -d "${HOME}/src/bash_prompt" ]; then
|
||||
git clone https://github.com/ajdelgado/bash_prompt.git --depth 1 "${HOME}/src/bash_prompt"
|
||||
cp "${HOME}/src/bash_prompt/bashrc_ps1.sh" "${HOME}/.bashrc_ps1" -rfp
|
||||
fi
|
||||
# shellcheck disable=SC1091
|
||||
source "${HOME}/.bashrc_ps1"
|
||||
|
||||
|
|
Loading…
Reference in a new issue