gitpod: add custom functions

This commit is contained in:
Kreyren 2020-01-25 16:30:26 +00:00
parent 964a109f9b
commit ff67137522

@ -12,6 +12,13 @@ RUN apt dist-upgrade -y
# Install linting dependencies
RUN apt install -y shellcheck firefox tree
# Add custom functions
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
'# Custom' \
"ix() { curl -F 'f:1=<-' ix.io ;}" \
"xcopy() { xcopy="xclip -se C" ;}" \
>> /etc/bash.bashrc; fi
# Remove apt sources to clean up space
RUN rm -rf /var/lib/apt/lists/*