Compare commits

..

No commits in common. "114ae0892158826dddd528eb2318b7cb85e9bcfb" and "6624d52f06adc4cd0fbb36aba7e714f820f59c7f" have entirely different histories.

4 changed files with 8 additions and 47 deletions

View file

@ -33,15 +33,6 @@
"[cpp]": { "[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools" "editor.defaultFormatter": "ms-vscode.cpptools"
}, },
"[dockercompose]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced",
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"[github-actions-workflow]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"[html]": { "[html]": {
"editor.formatOnSave": false "editor.formatOnSave": false
}, },
@ -184,7 +175,5 @@
"python.analysis.aiHoverSummaries": false, "python.analysis.aiHoverSummaries": false,
"rust-analyzer.hover.memoryLayout.size": "both", "rust-analyzer.hover.memoryLayout.size": "both",
"rust-analyzer.imports.granularity.enforce": true, "rust-analyzer.imports.granularity.enforce": true,
"rust-analyzer.rustfmt.overrideCommand": null, "yaml.format.printWidth": 110
"yaml.format.printWidth": 110,
"xml.server.preferBinary": true
} }

View file

@ -3,12 +3,8 @@
- name: Devel - Fonts - name: Devel - Fonts
community.general.homebrew: community.general.homebrew:
name: "{{ item }}" name: font-hack
state: present state: present
loop:
- font-hack
- font-overpass
- font-news-cycle
# Install Visual Studio Code and Set Basic Configuration # Install Visual Studio Code and Set Basic Configuration
- name: VSCode - Basics - name: VSCode - Basics
@ -57,16 +53,7 @@
vars: vars:
packages: packages:
- clang-format - clang-format
- llvm
- cmake
- ninja
- meson
diff: false diff: false
- name: Devel - C/C++ - Symlink clang-tidy
ansible.builtin.file:
state: link
path: /usr/local/bin/clang-tidy
src: /opt/homebrew/opt/llvm/bin/clang-tidy
# Dev Env - Python Development Tools # Dev Env - Python Development Tools
# all done in vscode.yml # all done in vscode.yml
@ -94,6 +81,6 @@
state: present state: present
vars: vars:
packages: packages:
- basictex # needs sudo - basictex # neeeds sudo
- tex-live-utility - tex-live-utility
diff: false diff: false

View file

@ -54,16 +54,9 @@
code --install-extension ms-vscode.cmake-tools code --install-extension ms-vscode.cmake-tools
# VS Code - Python Development Tools # VS Code - Python Development Tools
- name: Devel - Python - Install python dev packages (macOS) - name: Devel - Python - Install python dev packages
tags: lang_python tags: lang_python
when: user_lang_python and (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin" when: user_lang_python
ansible.builtin.homebrew:
name:
- autopep8
- pylint
- name: Devel - Python - Install python dev packages (non macOS)
tags: lang_python
when: user_lang_python and not (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin"
ansible.builtin.pip: ansible.builtin.pip:
name: name:
- autopep8 - autopep8

View file

@ -1,15 +1,4 @@
# Unified zshrc of Jannik Beyerstedt # Unified zshrc of Jannik Beyerstedt
typeset -aU path
{% if (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin" %}
path=('/opt/homebrew/bin' $path)
export PATH
{% else %}
# If you come from bash you might have to change your $PATH.
# path=('$HOME/bin' $path)
# path=('/usr/local/bin' $path)
# export PATH
{% endif %}
export TERM=xterm-256color export TERM=xterm-256color
{% if usersetup_virtualenvwrapper|default(false)|bool %} {% if usersetup_virtualenvwrapper|default(false)|bool %}
VIRTUALENVWRAPPER_PYTHON=$(which python3) VIRTUALENVWRAPPER_PYTHON=$(which python3)
@ -18,6 +7,9 @@ VIRTUALENVWRAPPER_PYTHON=$(which python3)
DEFAULT_USER="jannik" DEFAULT_USER="jannik"
DISABLE_UPDATE_PROMPT=true DISABLE_UPDATE_PROMPT=true
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh export ZSH=$HOME/.oh-my-zsh