### Install dotly using wget Source: https://github.com/codelytv/dotly/blob/main/README.md Use this command to install dotly directly from its GitHub repository using wget. ```bash bash <(wget -qO- https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/installer) ``` -------------------------------- ### Install dotly using curl Source: https://github.com/codelytv/dotly/blob/main/README.md Use this command to install dotly directly from its GitHub repository using curl. ```bash bash <(curl -s https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/installer) ``` -------------------------------- ### Try dotly in Docker with Ubuntu Source: https://github.com/codelytv/dotly/blob/main/README.md This command runs dotly within an Ubuntu Docker container, installing necessary dependencies and the installer script. The container is ephemeral. ```bash docker run -e TERM -e COLORTERM -w /root -it --rm ubuntu sh -uec ' apt-get update apt-get install -y curl build-essential sudo su -c bash -c "$(curl -fsSL https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/installer)" su -c zsh' ``` -------------------------------- ### Try dotly in Docker with Alpine Source: https://github.com/codelytv/dotly/blob/main/README.md This command runs dotly within an Alpine Linux Docker container, installing necessary dependencies and the installer script. The container is ephemeral. ```bash docker run -e TERM -e COLORTERM -e LC_ALL=C.UTF-8 -w /root -it --rm alpine sh -uec ' apk add curl sudo bash zsh git g++ python3 bash -c "$(curl -fsSL https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/installer)" zsh' ``` -------------------------------- ### Common Dotly Aliases Source: https://github.com/codelytv/dotly/blob/main/README.md Examples of commonly used aliases provided by Dotly for shell navigation and package management. ```bash ..: cd one directory up la: ls all files/dirs with colors up: Update all your package managers packages ``` -------------------------------- ### Restore Dotfiles with wget Source: https://github.com/codelytv/dotly/blob/main/dotfiles_template/README.md Use this command to automatically restore your dotfiles by downloading and executing the restorer script via wget. Ensure you have git and wget installed. ```bash bash <(wget -qO- https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/restorer) ``` -------------------------------- ### Restore Dotfiles with curl Source: https://github.com/codelytv/dotly/blob/main/dotfiles_template/README.md Use this command to automatically restore your dotfiles by downloading and executing the restorer script via curl. Ensure you have git and curl installed. ```bash bash <(curl -s https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/restorer) ``` -------------------------------- ### Initialize GitHub repository for dotfiles Source: https://github.com/codelytv/dotly/blob/main/README.md Commands to set up your GitHub repository for dotfiles, including adding the remote origin, staging, committing, and pushing initial changes. ```bash git remote add origin YOUR_DOTFILES_REPO_URL && git add -A && git commit -m "Initial commit" && git push origin main ``` -------------------------------- ### dot command help Source: https://github.com/codelytv/dotly/blob/main/README.md Displays the usage information for the 'dot' command, showing how to execute scripts within different contexts. ```bash dot -h ``` -------------------------------- ### Manually restore dotfiles Source: https://github.com/codelytv/dotly/blob/main/README.md Steps to manually restore dotfiles, including cloning the repository, updating submodules, and running the self-install command. ```bash git clone [your repository of dotfiles] $HOME/.dotfiles cd $HOME/.dotfiles git submodule update --init --recursive modules/dotly DOTFILES_PATH="$HOME/.dotfiles" DOTLY_PATH="$DOTFILES_PATH/modules/dotly" "$DOTLY_PATH/bin/dot" self install ``` -------------------------------- ### Configure Dotly Theme Parameters Source: https://github.com/codelytv/dotly/blob/main/README.md Customize the Dotly theme by setting these parameters in your `shell/exports.sh`. Options control prompt appearance, color mode, and path display. ```bash CODELY_THEME_MINIMAL=false|true # If true the theme will only show the prompt status CODELY_THEME_MODE="dark"|"light" # Use dark if you use dark colors, light if light CODELY_THEME_PROMPT_IN_NEW_LINE=false|true # If true the prompt will be in a newline CODELY_THEME_PWD_MODE="short"|"full"|"home_relative" # short will show the first letter of each directory, full the full path and home_relative the full path relative to the $HOME dir CODELY_THEME_STATUS_ICON_KO="▪" # The icon to show if the previous command failed. Useful if you're color blind ``` -------------------------------- ### Troubleshoot Dotly Source: https://github.com/codelytv/dotly/blob/main/README.md Execute `dot self debug` to see error output while running other commands, useful for diagnosing issues. ```bash dot self debug ``` -------------------------------- ### Dotly Default Scripts Structure Source: https://github.com/codelytv/dotly/blob/main/README.md Overview of the directory structure for default Dotly scripts. These scripts cover functionalities like dotfile management, git operations, package handling, and self-updates. ```bash ├── 📁 dotfiles │ ├── create # Creates the dotfiles scructure │ └── import # Import an existing dotfiles ├── 📁 git │ ├── amend # Amend a commit │ ├── apply-gitignore # Exclude all commited files that are inside the project .gitignore │ ├── changed-files # Show all changed files to main │ ├── commit # Add all files and then commit │ ├── contributors # List contributors with number of commits │ ├── find # Find commits by commit message │ ├── pretty-diff # Show a pretty git diff using fzf (and copy selected path to the clipboard) │ ├── pretty-log # Git log filtering │ └── rm-file-history # Remove completely a file from the repo with its history ├── 📁 mac │ ├── brew # Some brew utils │ └── defaults # Some defaults utils to view your changes, import and export ├── 📁 package │ ├── add # Install a package │ ├── dump # Dump all installed packages │ ├── import # Import previously dumped packages │ └── update_all # Update all packages ├── 📁 self # Instead of `dot self` you can use direclty `dotly` in your terminal │ ├── debug # Debug dotly │ ├── install # Install dotly and setup dotfiles │ ├── lint # Lint all dotly related bash files │ ├── static_analysis # Static analysis of all dotly related bash files │ └── update # Update dotly to the latest stable release ├── 📁 shell │ └── zsh # ZSH helpers └── 📁 symlinks └── apply # Apply all symlinks ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.