### Install Dotfiles with chezmoi Source: https://context7.com/renemarc/dotfiles/llms.txt Initializes and applies the dotfiles configuration using the chezmoi manager. This script automates the setup of dependencies and shell frameworks. ```bash sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply renemarc ./dotfiles.sh ``` -------------------------------- ### Install PowerShell Prompt Modules Source: https://github.com/renemarc/dotfiles/blob/master/dot_config/powershell/README.md Installs the Posh-Git and Oh-My-Posh modules for Git integration and prompt styling, along with the latest PSReadLine for improved command-line editing. These modules are installed for the current user to avoid permission conflicts. ```powershell Install-Module posh-git -Scope CurrentUser Install-Module oh-my-posh -Scope CurrentUser Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck ``` -------------------------------- ### Directory Creation and Navigation in PowerShell Source: https://context7.com/renemarc/dotfiles/llms.txt Shows how to create a new directory and immediately navigate into it using PowerShell. ```powershell New-ItemSetLocation ".\NewFolder\" ``` -------------------------------- ### Navigate configuration directories Source: https://context7.com/renemarc/dotfiles/llms.txt Quick navigation aliases to jump directly to specific application configuration folders like chezmoi, PowerShell profiles, or Sublime Text. ```bash chezmoiconf powershellconf sublimeconf ``` -------------------------------- ### Repeating Commands in PowerShell Source: https://context7.com/renemarc/dotfiles/llms.txt Illustrates how to repeat a command a specified number of times using PowerShell. ```powershell Invoke-RepeatCommand 5 echo "Hello World" ``` -------------------------------- ### Toggle system UI elements Source: https://context7.com/renemarc/dotfiles/llms.txt Commands to modify system-level visibility settings for desktop icons, hidden files, and Spotlight indexing. ```bash hidedesktop showfiles spotoff ``` -------------------------------- ### Open URLs in specific browsers Source: https://context7.com/renemarc/dotfiles/llms.txt Cross-platform commands to launch URLs in various web browsers. Includes specific support for macOS and Windows-only browsers. ```bash browse https://example.com chrome https://example.com firefox https://example.com safari https://example.com iexplore https://example.com ``` -------------------------------- ### Manage development environments and shortcuts Source: https://context7.com/renemarc/dotfiles/llms.txt Aliases for Git, Docker, and Python virtual environment management to streamline daily development tasks. Includes functions for creating, activating, and managing local venv directories. ```bash g status dk ps dco up -d ve && va && pip install -r requirements.txt ``` -------------------------------- ### File Operations in PowerShell Source: https://context7.com/renemarc/dotfiles/llms.txt Demonstrates various file and directory operations using PowerShell cmdlets. Includes copying files and directories, finding files and directories by pattern, and creating empty files. ```powershell Copy-ItemSecure "source.txt" ".\Destination\" Copy-ItemMirror ".\Source\" ".\Destination\" Find-File "*.ps1" Find-Directory "*config*" New-ItemEmpty "newfile.txt" ``` -------------------------------- ### Adding Environment Path in PowerShell Source: https://context7.com/renemarc/dotfiles/llms.txt Shows how to add a directory to the user's PATH environment variable, with options to prepend or append. ```powershell Add-EnvPath -Path "C:\tools\bin" -Container User -Position Prepend ``` -------------------------------- ### ISO-8601 Date and Time Utilities Source: https://context7.com/renemarc/dotfiles/llms.txt Commands to retrieve current date, time, and timestamps in ISO-8601 format. Includes support for local time, UTC, and specific date/time components. ```bash now unow nowdate unowdate nowtime unowtime timestamp week weekday ``` -------------------------------- ### Configure Starship shell prompt Source: https://context7.com/renemarc/dotfiles/llms.txt Configuration settings for the Starship cross-shell prompt, defining battery status symbols, Git state indicators, and Python environment display. ```toml [battery] full_symbol = "🔌" charging_symbol = "⚡" [git_state] cherry_pick = "🍒 PICKING" ``` -------------------------------- ### System Power Management Source: https://context7.com/renemarc/dotfiles/llms.txt Standardized commands for controlling system power states, including locking, hibernating, rebooting, and shutting down. ```bash lock hibernate reboot poweroff ``` -------------------------------- ### Display weather information via terminal Source: https://context7.com/renemarc/dotfiles/llms.txt Uses the wttr.in service to fetch and display weather forecasts directly in the terminal. Provides both current conditions and multi-day forecasts. ```bash weather forecast ``` -------------------------------- ### Enhanced Directory Listing Commands Source: https://context7.com/renemarc/dotfiles/llms.txt Standardized aliases for listing files and directories with colorized output. These commands provide consistent behavior for viewing hidden files, directory-only lists, and long-format details. ```bash l ll lsd lsh ``` -------------------------------- ### Cross-Platform Networking Utilities Source: https://context7.com/renemarc/dotfiles/llms.txt Tools for retrieving IP information, flushing DNS, and performing HTTP requests. These commands work across different shells to simplify network diagnostics. ```bash ips localip publicip flushdns fastping google.com GET https://api.example.com/data POST https://api.example.com/submit PUT https://api.example.com/update DELETE https://api.example.com/remove HEAD https://api.example.com/check OPTIONS https://api.example.com/ TRACE https://api.example.com/ ``` -------------------------------- ### Calculate file hashes using shell utilities Source: https://context7.com/renemarc/dotfiles/llms.txt Standardized commands to generate MD5, SHA1, and SHA256 checksums for file integrity verification. These commands rely on coreutils available on most Unix-like systems. ```bash md5sum file.txt sha1sum file.txt sha256sum file.txt ``` -------------------------------- ### Clipboard Operations Source: https://context7.com/renemarc/dotfiles/llms.txt Cross-platform commands to interact with the system clipboard for copying file contents and pasting text. ```bash cb file.txt cbpaste ``` -------------------------------- ### Cross-Platform File Management Source: https://context7.com/renemarc/dotfiles/llms.txt Utility commands for common file operations such as secure copying, file searching, and directory mirroring. These commands abstract platform-specific tools like rsync and robocopy. ```bash cpv source.txt destination/ fd "*config*" ff "*.json" mirror ./Source/ ./Destination/ touch newfile.txt ``` -------------------------------- ### Unified Navigation Aliases Source: https://context7.com/renemarc/dotfiles/llms.txt A set of shell aliases providing consistent directory navigation commands across Bash, Zsh, and PowerShell. These include shortcuts for common directories and quick traversal of directory levels. ```bash ~ cd- .. ... .... ..... dls docs dt repos archives ``` -------------------------------- ### System Administration and Maintenance Source: https://context7.com/renemarc/dotfiles/llms.txt Utilities for monitoring system status, managing environment paths, and performing bulk updates of packages and applications. ```bash mnt path sysinfo top update ``` -------------------------------- ### PowerShell directory listing functions Source: https://context7.com/renemarc/dotfiles/llms.txt Custom PowerShell functions that replicate common Unix-style directory listing commands like ls and ll with specific formatting. ```powershell Get-ChildItemSimple Get-ChildItemVisible Get-ChildItemAll ``` -------------------------------- ### Package Updates Across Multiple Managers in PowerShell Source: https://context7.com/renemarc/dotfiles/llms.txt Demonstrates a command to update packages across various package managers including PowerShell modules, Chocolatey, Scoop, npm, and Ruby gems. ```powershell Update-Packages ``` -------------------------------- ### General shell productivity utilities Source: https://context7.com/renemarc/dotfiles/llms.txt Custom functions to improve terminal efficiency, including history searching, directory navigation, and shell configuration reloading. ```bash h "git" hs "docker" mkcd new-project repeat 5 echo "Hello" reload resource ``` -------------------------------- ### Advanced Git workflow aliases Source: https://context7.com/renemarc/dotfiles/llms.txt A collection of aliases for complex Git operations including branch management, commit history, remote synchronization, and repository maintenance. ```bash g st g co main g amend g sync g churn ``` -------------------------------- ### Universal Archive Extraction Source: https://context7.com/renemarc/dotfiles/llms.txt A unified function to extract various archive formats using a single command. It supports common formats like tar, zip, rar, and 7z. ```bash extract archive.zip extract archive.tar.gz extract archive.7z extract archive.rar x archive.tar.bz2 ``` -------------------------------- ### Toggle hidden files in Windows Explorer Source: https://context7.com/renemarc/dotfiles/llms.txt PowerShell-specific functions to toggle the visibility of hidden files within the Windows file system. ```powershell hidefiles showfiles ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.