2 Commits dbd410c393 ... 19ad4aa6e9

Author SHA1 Message Date
  Bachir Soussi Chiadmi 19ad4aa6e9 updated public_html 5 years ago
  Bachir Soussi Chiadmi 95a8d6c17e better prompt to php container 5 years ago
4 changed files with 10 additions and 1 deletions
  1. 3 0
      Docker/php/Dockerfile
  2. 4 0
      Docker/php/bashrc
  3. 2 0
      Docker/php/inputrc
  4. 1 1
      public_html

+ 3 - 0
Docker/php/Dockerfile

@@ -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 - 0
Docker/php/bashrc

@@ -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 - 0
Docker/php/inputrc

@@ -0,0 +1,2 @@
+set show-all-if-ambiguous on
+set completion-ignore-case on

+ 1 - 1
public_html

@@ -1 +1 @@
-Subproject commit 0a2d25bbd6de0951ba39fb5bbb135e89ba666ddf
+Subproject commit 1e009f88bfc6e781376f3fe87f29c260ff043a20