fix bash_prompt sourcing
This commit is contained in:
parent
7c4e41ca44
commit
13ce33c8a0
2
.profile
2
.profile
@ -2,7 +2,7 @@
|
|||||||
if [ -n "$BASH_VERSION" ]; then
|
if [ -n "$BASH_VERSION" ]; then
|
||||||
|
|
||||||
# source all the things
|
# source all the things
|
||||||
for file in ~/.{bash_aliases,bashrc,bash_prompt}; do
|
for file in ~/.{bash_aliases,bash_prompt,bashrc,bash_prompt}; do
|
||||||
[ -r "$file" ] && [ -f "$file" ] && source "$file"
|
[ -r "$file" ] && [ -f "$file" ] && source "$file"
|
||||||
done;
|
done;
|
||||||
unset file;
|
unset file;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# list of files/folders to symlink in homedir
|
# list of files/folders to symlink in homedir
|
||||||
FILES=".bash_aliases .bashrc .profile bin .vimrc"
|
FILES=".bash_aliases .bash_prompt .bashrc .profile bin .vimrc"
|
||||||
|
|
||||||
# remove old version and symlink files
|
# remove old version and symlink files
|
||||||
for FILE in $FILES; do
|
for FILE in $FILES; do
|
||||||
|
Loading…
Reference in New Issue
Block a user