Skip to content

Commit

Permalink
Update zsh configs and svg assests.
Browse files Browse the repository at this point in the history
  • Loading branch information
eli64s committed Jan 4, 2025
1 parent d74b935 commit 750e398
Show file tree
Hide file tree
Showing 24 changed files with 283 additions and 470 deletions.
317 changes: 60 additions & 257 deletions README.md

Large diffs are not rendered by default.

Binary file added assets/img/cosmic-core-aurora.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cosmic-core-azure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/cosmic-core-bright.png
Binary file not shown.
Binary file removed assets/img/cosmic-core-celestrial.png
Binary file not shown.
Binary file added assets/img/cosmic-core-dawn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/cosmic-core-monochrome.png
Binary file not shown.
Binary file removed assets/img/cosmic-core-neon.png
Binary file not shown.
Binary file added assets/img/cosmic-core-original.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cosmic-core-silver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cosmic-core-solar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/cosmic-core.png
Binary file not shown.
22 changes: 10 additions & 12 deletions assets/svg/button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions assets/svg/line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 0 additions & 66 deletions assets/svg/logo-rainbow.svg

This file was deleted.

93 changes: 54 additions & 39 deletions assets/svg/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion git/.gitignore_global
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,22 @@
*.swp
*.swo
*~
.idea/
.idea/

# Build artifacts
/bin
/obj
/dist
/node_modules

# Environments
.env

# Python
__pycache__/
*.pyc
.venv/
.mypy_cache/
.pytest_cache/
.ruff_cache/
.nox
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 17 additions & 21 deletions vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,6 @@
"security.workspace.trust.untrustedFiles": "open",

// Language-specific settings
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
},
"editor.rulers": [88, 120],
"editor.suggestSelection": "first",
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
Expand Down Expand Up @@ -89,19 +77,27 @@
},

// Python-specific settings
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "always",
"source.organizeImports.ruff": "always",
"source.unusedImports.ruff": "always"
}
},
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true,
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.inlayHints.variableTypes": true,
"python.analysis.gotoDefinitionInStringLiteral": true,
"python.analysis.useLibraryCodeForTypes": true,
"python.analysis.diagnosticMode": "workspace",
// "python.analysis.inlayHints.functionReturnTypes": true,
// "python.analysis.inlayHints.variableTypes": true,
"python.analysis.inlayHints.pytestParameters": true,
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"pythonTestExplorer.testFramework": "pytest",

// Ruff settings
"ruff.organizeImports": true,
"ruff.fixAll": true,

// AutoDocstring settings
"autoDocstring.docstringFormat": "numpy",
"autoDocstring.startOnNewLine": true,
Expand All @@ -116,13 +112,13 @@

// Jupyter and Notebook settings
"jupyter.askForKernelRestart": false,
"notebook.output.textLineLimit": 79,
"notebook.output.textLineLimit": 69,
"notebook.output.wordWrap": true,
"notebook.lineNumbers": "on",
"notebook.formatOnSave.enabled": true,
"notebook.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports.ruff": true
"source.fixAll.ruff": "always",
"source.organizeImports.ruff": "always",
},
"notebook.consolidatedRunButton": true,
"notebook.output.scrolling": true,
Expand Down
30 changes: 20 additions & 10 deletions zsh/.zprofile
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
# -- .zprofile: set the environment for login shells.
# ~/.zprofile: Set environment variables and PATH for login shells.

# Homebrew
# Homebrew: Ensure Homebrew's binaries are in PATH
eval "$(/opt/homebrew/bin/brew shellenv)"

# Python Development
# Python Development Setup
export PYENV_ROOT="$HOME/.pyenv"
export POETRY_HOME="$HOME/.poetry"
[[ -d "$PYENV_ROOT/bin" ]] && export PATH="$PYENV_ROOT/bin:$PATH"
[[ -d "$POETRY_HOME/bin" ]] && export PATH="$POETRY_HOME/bin:$PATH"
eval "$(pyenv init --path)"

# Local binaries
# Add Homebrew, pyenv, and Poetry to PATH if their directories exist
if [[ -d "$PYENV_ROOT/bin" ]]; then
export PATH="$PYENV_ROOT/bin:$PATH"
fi

if [[ -d "$POETRY_HOME/bin" ]]; then
export PATH="$POETRY_HOME/bin:$PATH"
fi

# Add Homebrew's bin directory to PATH
export PATH="/opt/homebrew/bin:$PATH"

# Local binaries: Add ~/.local/bin to PATH
export PATH="$PATH:$HOME/.local/bin"

# XDG Base Directory Specification
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"

# Development directories
# export PROJECTS_DIR="$HOME/Documents/GitHub"
# export DOTS_DIR="$PROJECTS_DIR/dots"
# Initialize pyenv for login shells
if command -v pyenv >/dev/null 2>&1; then
eval "$(pyenv init --path)"
fi
Loading

0 comments on commit 750e398

Please sign in to comment.