gitpod: add custom functions
This commit is contained in:
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/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user