Skip to content

Commit

Permalink
chore: forced line endings to be LF
Browse files Browse the repository at this point in the history
  • Loading branch information
Molier committed Nov 29, 2024
1 parent d41d26a commit ccf6780
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"features": {},
"postCreateCommand": "zsh -l .devcontainer/post-install.sh",
// "postStartCommand": "",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=cached",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"remoteUser": "root",
"customizations": {
"vscode": {
Expand Down
16 changes: 7 additions & 9 deletions .devcontainer/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ poetry install
# Install pre-commit hooks
pre-commit install

# Install Node.js and Pure prompt
# nvm install node
# npm install --global pure-prompt
# Install ZSH plugins
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# # Configure Zsh to use Pure prompt
# "autoload -U promptinit; promptinit; prompt pure"
# "echo "autoload -U promptinit; promptinit; prompt pure" >> ~/.zshrc"
# Update .zshrc to enable plugins
sed -i 's/plugins=(git)/plugins=(git zsh-autosuggestions zsh-syntax-highlighting)/' ~/.zshrc

# # Uncomment the following line to install zsh-syntax-highlighting
# # sudo apt-get install zsh-syntax-highlighting
# # echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
# Source the updated configuration
source ~/.zshrc

0 comments on commit ccf6780

Please sign in to comment.