Christoph Cullmann 2021-08-29 11:48:16 +02:00
parent f237551193
commit 0321812a29
57 changed files with 25676 additions and 4089 deletions

File diff suppressed because it is too large Load diff

View file

@ -52,6 +52,8 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
@ -75,7 +77,7 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
@ -107,7 +109,5 @@ source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Disable Powerlevel10k configuration wizard
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true
export GPG_TTY=$(tty)

View file

@ -4,25 +4,18 @@ FROM klakegg/hugo:ext-ubuntu
ENV DEBIAN_FRONTEND=noninteractive
# Install required packages
RUN apt update && \
apt install -y sudo \
curl \
gnupg2 \
linuxbrew-wrapper \
locales \
zsh \
wget \
powerline \
fonts-powerline \
software-properties-common \
# set up locale
&& locale-gen en_US.UTF-8
# Install git
RUN add-apt-repository -y ppa:git-core/ppa && apt update && apt install git -y
RUN apt update
RUN apt install -y curl
RUN apt install -y gnupg2
RUN apt install -y zsh
RUN apt install -y sudo
RUN apt install -y locales
RUN apt install -y vim
RUN apt install -y fontconfig
RUN locale-gen en_US.UTF-8
# Install Node.js
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt install nodejs
# Switch back to dialog for any ad-hoc use of apt-get
@ -52,14 +45,23 @@ ENV TERM xterm
# Set the default shell to bash rather than sh
ENV SHELL /bin/zsh
# Install Cascadia Code Nerd Font
RUN mkdir -p ~/.local/share/fonts
RUN cd ~/.local/share/fonts && curl -fLo "Caskaydia Cove Regular Nerd Font Complete Mono.otf" https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/CascadiaCode/Regular/complete/Caskaydia%20Cove%20Regular%20Nerd%20Font%20Complete%20Mono.otf?raw=true
RUN cd ~/.local/share/fonts && curl -fLo "Caskaydia Cove Regular Nerd Font Complete.otf" https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/CascadiaCode/Regular/complete/Caskaydia%20Cove%20Regular%20Nerd%20Font%20Complete.otf?raw=true
RUN fc-cache -fv
# Run the installation script
RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true
RUN sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Install powerlevel10k theme
RUN git clone https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
RUN git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
# Install syntax highlighting
RUN git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.zsh-syntax-highlighting --depth 1
RUN git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# Install zsh autosuggestions
RUN git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Add .zsh configuration
ADD .p10k.zsh $HOME

View file

@ -4,7 +4,7 @@
"settings": {
"resmon.show.battery": false,
"resmon.show.cpufreq": false,
"terminal.integrated.fontFamily": "'Source Code Pro for Powerline', 'Hack Nerd Font'",
"terminal.integrated.fontFamily": "CaskaydiaCove NF, Cascadia Mono, Consolas, 'Courier New', monospace",
"terminal.integrated.shell.linux": "/bin/zsh"
},
"extensions": [
@ -14,7 +14,8 @@
"visualstudioexptteam.vscodeintellicode",
"eamodio.gitlens",
"mutantdino.resourcemonitor",
"budparr.language-hugo-vscode"
"budparr.language-hugo-vscode",
"vscode-icons-team.vscode-icons"
],
"runArgs": []
"forwardPorts": [1313]
}