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
|
||||
|
||||
# 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"
|
||||
done;
|
||||
unset file;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 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
|
||||
for FILE in $FILES; do
|
||||
|
Loading…
Reference in New Issue
Block a user