fix bash_prompt sourcing

This commit is contained in:
Matthias Kretschmann 2016-05-07 21:51:24 +02:00
parent 7c4e41ca44
commit 13ce33c8a0
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View 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