better prompt to php container

This commit is contained in:
2019-03-19 13:16:37 +01:00
parent dbd410c393
commit 95a8d6c17e
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -2,6 +2,9 @@ FROM php:7.0-fpm
COPY ./php-custom.ini /usr/local/etc/php/conf.d/php-custom.ini
COPY ./bashrc /root/.bashrc
COPY ./inputrc /root/.inputrc
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
+4
View File
@@ -0,0 +1,4 @@
PS1='\e[36m\e[1mPHP\e[0m:\e[90m\w\e[0m\n$ '
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
+2
View File
@@ -0,0 +1,2 @@
set show-all-if-ambiguous on
set completion-ignore-case on