diff --git a/Docker/php/Dockerfile b/Docker/php/Dockerfile index b5875b1..320d90b 100644 --- a/Docker/php/Dockerfile +++ b/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 \ diff --git a/Docker/php/bashrc b/Docker/php/bashrc new file mode 100644 index 0000000..468610f --- /dev/null +++ b/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' diff --git a/Docker/php/inputrc b/Docker/php/inputrc new file mode 100644 index 0000000..db8d91d --- /dev/null +++ b/Docker/php/inputrc @@ -0,0 +1,2 @@ +set show-all-if-ambiguous on +set completion-ignore-case on