From e7454e12227d0234eb4022ea2f004c1e3001c169 Mon Sep 17 00:00:00 2001 From: <> Date: Wed, 7 Aug 2024 21:43:56 +0000 Subject: [PATCH] Deployed 8e0b6ad with MkDocs version: 1.4.3 --- .nojekyll | 0 404.html | 356 + CHANGELOG/index.html | 693 ++ CNAME | 1 + LICENSE/index.html | 406 + Terminal Profiles/Basic (Modified).terminal | 900 +++ .../gnome-terminal-profiles.dconf | 30 + assets/images/favicon.png | Bin 0 -> 1870 bytes assets/javascripts/bundle.b425cdc4.min.js | 29 + assets/javascripts/bundle.b425cdc4.min.js.map | 8 + assets/javascripts/lunr/min/lunr.ar.min.js | 1 + assets/javascripts/lunr/min/lunr.da.min.js | 18 + assets/javascripts/lunr/min/lunr.de.min.js | 18 + assets/javascripts/lunr/min/lunr.du.min.js | 18 + assets/javascripts/lunr/min/lunr.es.min.js | 18 + assets/javascripts/lunr/min/lunr.fi.min.js | 18 + assets/javascripts/lunr/min/lunr.fr.min.js | 18 + assets/javascripts/lunr/min/lunr.hi.min.js | 1 + assets/javascripts/lunr/min/lunr.hu.min.js | 18 + assets/javascripts/lunr/min/lunr.hy.min.js | 1 + assets/javascripts/lunr/min/lunr.it.min.js | 18 + assets/javascripts/lunr/min/lunr.ja.min.js | 1 + assets/javascripts/lunr/min/lunr.jp.min.js | 1 + assets/javascripts/lunr/min/lunr.kn.min.js | 1 + assets/javascripts/lunr/min/lunr.ko.min.js | 1 + assets/javascripts/lunr/min/lunr.multi.min.js | 1 + assets/javascripts/lunr/min/lunr.nl.min.js | 18 + assets/javascripts/lunr/min/lunr.no.min.js | 18 + assets/javascripts/lunr/min/lunr.pt.min.js | 18 + assets/javascripts/lunr/min/lunr.ro.min.js | 18 + assets/javascripts/lunr/min/lunr.ru.min.js | 18 + assets/javascripts/lunr/min/lunr.sa.min.js | 1 + .../lunr/min/lunr.stemmer.support.min.js | 1 + assets/javascripts/lunr/min/lunr.sv.min.js | 18 + assets/javascripts/lunr/min/lunr.ta.min.js | 1 + assets/javascripts/lunr/min/lunr.te.min.js | 1 + assets/javascripts/lunr/min/lunr.th.min.js | 1 + assets/javascripts/lunr/min/lunr.tr.min.js | 18 + assets/javascripts/lunr/min/lunr.vi.min.js | 1 + assets/javascripts/lunr/min/lunr.zh.min.js | 1 + assets/javascripts/lunr/tinyseg.js | 206 + assets/javascripts/lunr/wordcut.js | 6708 +++++++++++++++++ .../workers/search.208ed371.min.js | 42 + .../workers/search.208ed371.min.js.map | 8 + assets/stylesheets/main.26e3688c.min.css | 1 + assets/stylesheets/main.26e3688c.min.css.map | 1 + assets/stylesheets/palette.ecc896b0.min.css | 1 + .../stylesheets/palette.ecc896b0.min.css.map | 1 + includes/csv/cli-colors-explained.csv | 12 + includes/csv/neovim-plugin-info.csv | 9 + includes/csv/oh-my-zsh-plugins.csv | 7 + includes/csv/useful-packages-npm.csv | 35 + includes/csv/useful-packages-tppm.csv | 45 + .../neovim-init-non-vim-plug.vim | 21 + .../neovim-init-vim-plug.vim | 105 + includes/zshrc-files/zshrc-linux-snippet.zsh | 67 + includes/zshrc-files/zshrc-linux.zsh | 173 + includes/zshrc-files/zshrc-macos-snippet.zsh | 79 + includes/zshrc-files/zshrc-macos.zsh | 214 + index.html | 2891 +++++++ search/search_index.json | 1 + sitemap.xml | 3 + sitemap.xml.gz | Bin 0 -> 127 bytes stylesheets/extra.css | 3 + 64 files changed, 13341 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 CHANGELOG/index.html create mode 100644 CNAME create mode 100644 LICENSE/index.html create mode 100644 Terminal Profiles/Basic (Modified).terminal create mode 100644 Terminal Profiles/gnome-terminal-profiles.dconf create mode 100644 assets/images/favicon.png create mode 100644 assets/javascripts/bundle.b425cdc4.min.js create mode 100644 assets/javascripts/bundle.b425cdc4.min.js.map create mode 100644 assets/javascripts/lunr/min/lunr.ar.min.js create mode 100644 assets/javascripts/lunr/min/lunr.da.min.js create mode 100644 assets/javascripts/lunr/min/lunr.de.min.js create mode 100644 assets/javascripts/lunr/min/lunr.du.min.js create mode 100644 assets/javascripts/lunr/min/lunr.es.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hu.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hy.min.js create mode 100644 assets/javascripts/lunr/min/lunr.it.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ja.min.js create mode 100644 assets/javascripts/lunr/min/lunr.jp.min.js create mode 100644 assets/javascripts/lunr/min/lunr.kn.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ko.min.js create mode 100644 assets/javascripts/lunr/min/lunr.multi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.nl.min.js create mode 100644 assets/javascripts/lunr/min/lunr.no.min.js create mode 100644 assets/javascripts/lunr/min/lunr.pt.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ro.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ru.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sa.min.js create mode 100644 assets/javascripts/lunr/min/lunr.stemmer.support.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sv.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ta.min.js create mode 100644 assets/javascripts/lunr/min/lunr.te.min.js create mode 100644 assets/javascripts/lunr/min/lunr.th.min.js create mode 100644 assets/javascripts/lunr/min/lunr.tr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.vi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.zh.min.js create mode 100644 assets/javascripts/lunr/tinyseg.js create mode 100644 assets/javascripts/lunr/wordcut.js create mode 100644 assets/javascripts/workers/search.208ed371.min.js create mode 100644 assets/javascripts/workers/search.208ed371.min.js.map create mode 100644 assets/stylesheets/main.26e3688c.min.css create mode 100644 assets/stylesheets/main.26e3688c.min.css.map create mode 100644 assets/stylesheets/palette.ecc896b0.min.css create mode 100644 assets/stylesheets/palette.ecc896b0.min.css.map create mode 100644 includes/csv/cli-colors-explained.csv create mode 100644 includes/csv/neovim-plugin-info.csv create mode 100644 includes/csv/oh-my-zsh-plugins.csv create mode 100644 includes/csv/useful-packages-npm.csv create mode 100644 includes/csv/useful-packages-tppm.csv create mode 100644 includes/neovim-init-files/neovim-init-non-vim-plug.vim create mode 100644 includes/neovim-init-files/neovim-init-vim-plug.vim create mode 100644 includes/zshrc-files/zshrc-linux-snippet.zsh create mode 100644 includes/zshrc-files/zshrc-linux.zsh create mode 100644 includes/zshrc-files/zshrc-macos-snippet.zsh create mode 100644 includes/zshrc-files/zshrc-macos.zsh create mode 100644 index.html create mode 100644 search/search_index.json create mode 100644 sitemap.xml create mode 100644 sitemap.xml.gz create mode 100644 stylesheets/extra.css diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..6fff760 --- /dev/null +++ b/404.html @@ -0,0 +1,356 @@ + + + +
+ + + + + + + + + + + + + +All notable changes to this project will be documented in this file.
+As a note, if the changelog only says "removed(program)", assume it's been removed from the entire readme. If it's only from a specific section, it'll be specified within the parentheses of the change.
+cheat
fzf-tab
eza
mechatroner/rainbow_csv
fzf
is installed before sourcing fzf-tab
.autoload
and source
.fzf
on Linux.eza
.lsd
based aliases.PATH
variable updated.This update is a major overhaul and rewrite of the entire repository. Because of this, I will not be listing all of the changes, as it would be too much to list. However, I will list some of the major changes:
+ntpeters/vim-better-whitespace
.git
plugin..zshrc
no longer contain the ENTIRE contents of my .zshrc
, rather just most of the general configurations. It was becoming too much of a pain to continuously document every little change.fd
/fd-find
git-quick-stats
valloric/youcompleteme
.LS_COLORS
, to match LSCOLORS
...set colorcolumn=89
.fzf
.zsh-completions
.gallery-dl
.zsh-autosuggestions
, removing the need to source it.LS_COLORS
.LSCOLOR
is now set from exgxfxDxcxegDhabagacaD
to exgxfxDxcxegDhabagacaD
.bottom
.hstr
.mkdocs.yml
.mkdocs.yml
.mkdocs-requirements.txt
.copydir
to copypath
..zshrc
and .vimrc
files, uses the code from the files in the insides
folder.git-quick-stats
.pyenv
.ffmpeg
.asciinema
.m-cli
..tmux
.tmux
.imagemagick
.duti
.jq
.Homebrew Command Not Found
.symboliclinker
.tmux
and wget
and tree
, as they are usually installed by default.gistome
.git-extras
.davidhalter/jedi-vim
.tpope/vim-fugitive
.edkolev/tmuxline.vim
.pdfgrep
.hub
.cloc
.README.md
.This is the first "release" where all configurations and such have been completely added.
+ +MIT License
+Copyright © 2020-2024 Hunter T. (StrangeRanger)
+Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.
+ +This document serves as a guide for how I customize my macOS and Linux terminals. It includes a variety of configurations, settings, and programs that I find useful for my daily workflow. The document is divided into several sections, each focusing on a different aspect of terminal customization.
+If you view this document on GitHub or as a standard markdown file, you will not see the interactive elements, such as the details and tabs. To view the document in its entirety, please visit the website.
+The following table contains a list of terminal programs that I find particularly useful. These programs are separated into two categories: Third Party Package Managers (TPPM) and Native Package Managers (NPM).
+The Third Party Package Managers section includes programs not installed using the system's default package manager. These programs are typically installed using tools like Homebrew, Pip, Cargo, Npm, Gem, or Git. I've included a brief description of each program and the relevant package manager(s) that can install it.
+While most of these programs can be installed via git, they will not be marked as such unless recommended by the program's documentation or myself, or if it's the only other way to install the program.
+The Native Package Managers section includes programs that can be installed using the system's default package manager. Since the primary Linux distributions I use are Debian based, all of the programs in this section are confirmed installable via apt. For other Linux distributions, you can check Repology to see if the program is available in your distribution's package manager. Like with TPPM, I've included a brief description for each program and a link with the number of repository families featuring the package.
+Programs | +Description | +Applicable OS's | +Available Package Managers | +Is a Command | +Other Info | +
---|---|---|---|---|---|
.tmux | +Oh my tmux! My self-contained, pretty & versatile tmux configuration made with. | +macOS Linux |
++ | No | +Requires tmux to be installed. |
+
bandwhich | +Terminal bandwidth utilization tool. | +macOS Linux |
+Yes | ++ | |
bat | +A cat(1) clone with wings. | +macOS Linux |
+Yes | ++ | |
black | +The uncompromising Python code formatter. | +macOS Linux |
+Yes | ++ | |
cheat | +Cheat allows you to create and view interactive cheatsheets on the command-line. | +macOS Linux |
++ | Yes | ++ |
codespell | +Check code for common misspellings. | +macOS Linux |
+Yes | ++ | |
coreutils | +These are the GNU core utilities. This package is the union of the GNU fileutils , sh-utils , and textutils packages. |
+macOS | ++ | Collection | +All GNU commands installed via coreutils, are the same as they are on Linux, but prefixed with a g (i.e. gcp for cp ). |
+
duf | +Disk Usage/Free Utility - a better 'df' alternative. | +macOS Linux |
++ | Yes | ++ |
eza | +A modern, maintained replacement for ls . |
+macOS Linux |
+Yes | ++ | |
ffmpeg | +FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata. | +macOS Linux |
++ | Yes | ++ |
fzf | +A command-line fuzzy finder. | +macOS Linux |
++ | Yes | ++ |
fzf-tab | +Replace zsh's default completion selection menu with fzf! | +macOS Linux |
+No | ++ | |
gallery-dl | +Command-line program to download image galleries and collections from several image hosting sites. | +macOS Linux |
+Yes | ++ | |
git | +Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. | +macOS Linux |
++ | Yes | ++ |
git-delta | +A syntax-highlighting pager for git, diff, and grep output | +macOS Linux |
+No | ++ | |
git-open | +Type git open to open the GitHub page or website for a repository in your browser. |
+macOS Linux |
++ | Yesgit open |
++ |
gnupg | +The GNU Privacy Guard | +macOS Linux |
++ | Yesgpg or gpg2 |
++ |
htop | +Improved top (interactive process viewer). | +macOS Linux |
++ | Yes | ++ |
imagemagick | +Use ImageMagick® to create, edit, compose, or convert digital images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, WebP, HEIC, SVG, PDF, DPX, EXR and TIFF. | +macOS Linux |
++ | Yesmagick |
+More info here. | +
isort | +A Python utility / library to sort imports. | +macOS Linux |
+Yes | ++ | |
lazygit | +Simple terminal UI for git commands. | +macOS Linux |
++ | Yes | ++ |
lynis | +Security and system auditing tool to harden systems. | +macOS Linux |
+Yes | +Recommended install method: Git. | +|
ncdu | +ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du'. | +macOS Linux |
++ | Yes | ++ |
neovim | +Vim-fork focused on extensibility and usability. | +macOS Linux |
++ | Nonvim |
++ |
prettier | +Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML. | +macOS Linux |
+Yes | ++ | |
pstree | +List processes as a tree. | +macOS Linux |
++ | Yes | ++ |
pipenv | +Python dependency management tool. | +macOS Linux |
+Yes | ++ | |
pipx | +Install and Run Python Applications in Isolated Environments. | +macOS Linux |
+Yes | ++ | |
pyenv | +Simple Python version management. | +macOS Linux |
++ | Yes | ++ |
pylint | +It's not just a linter that annoys you! | +macOS Linux |
+Yes | ++ | |
shellcheck | +Shell script analysis tool. | +macOS Linux |
++ | Yes | ++ |
shellharden | +Shellharden is a syntax highlighter and a tool to semi-automate the rewriting of scripts to ShellCheck conformance, mainly focused on quoting. | +macOS Linux |
+Yes | ++ | |
terminal-notifier | +Send macOS User Notifications from the command-line. | +macOS Linux |
+No | +Also see the bgnotify plugin. | +|
tmux | +tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. | +macOS Linux |
++ | + | + |
trash-cli | +Command line interface to the freedesktop.org trashcan. | +macOS Linux |
+Collection | ++ | |
tree | +Display directories as trees (with optional color/HTML output). | +macOS Linux |
++ | Yes | ++ |
tree-sitter | +Tree-sitter is a parser generator tool and an incremental parsing library. | +macOS Linux |
+No | ++ | |
wget | +Wget is a free utility for non-interactive download of files from the Web. | +macOS Linux |
++ | Yes | ++ |
yt-dlp | +A feature-rich command-line audio/video downloader. | +macOS Linux |
+Yes | ++ | |
zip | +Compression and file packaging/archive utility. | +macOS Linux |
++ | Yes | ++ |
zsh | +UNIX shell (command interpreter). | +macOS Linux |
++ | No | ++ |
zsh-autosuggestions | +Fish-like autosuggestions for zsh. | +macOS Linux |
+No | +Zsh must be installed. Install instructions. |
+|
zsh-completions | +Additional completion definitions for Zsh. | +macOS Linux |
+No | +Zsh must be installed. | +|
zsh-syntax-highlighting | +Fish shell like syntax highlighting for Zsh. | +macOS Linux |
+No | +Zsh must be installed. Install instructions. |
+
Applicable Operating Systems: Linux
+Programs | +Description | +Number of Repository Families Featuring this Package | +Is a Command | +Other Info | +
---|---|---|---|---|
apt-listchanges | +Package change history notification tool. | ++ | Yes | +Specific to Debian based distributions. Rarely used as a command. |
+
bandwhich | +Terminal bandwidth utilization tool. | ++ | Yes | ++ |
bat-cat | +A cat(1) clone with wings. | ++ | Yesbat or batcat or bat-cat |
++ |
black | +The uncompromising Python code formatter. | ++ | Yes | +Recommended install method: Homebrew OR Pip. | +
codespell | +Check code for common misspellings. | ++ | Yes | ++ |
deborphan | +Program that can find unused packages, e.g. libraries. | ++ | Yes | +Specific to Debian based distributions. | +
duf | +Disk Usage/Free Utility - a better 'df' alternative. | ++ | Yes | ++ |
eza | +A modern, maintained replacement for ls . |
++ | Yes | +For the apt package installation, see here. | +
ffmpeg | +FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata. | ++ | ??? | ++ |
fzf | +A command-line fuzzy finder. | ++ | Yes | +Recommended install method: Git OR Oh My Zsh | +
gallery-dl | +Command-line program to download image galleries and collections from several image hosting sites. | ++ | Yes | ++ |
git | +Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. | ++ | Yes | ++ |
git-delta | +A syntax-highlighting pager for git, diff, and grep output | ++ | No | ++ |
gnupg | +The GNU Privacy Guard | ++ | Yesgpg or gpg2 |
++ |
htop | +A cross-platform interactive process viewer. | ++ | Yes | ++ |
imagemagick | +Use ImageMagick® to create, edit, compose, or convert digital images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, WebP, HEIC, SVG, PDF, DPX, EXR and TIFF. | ++ | Yesmagick |
+More info here. Recommended install method: Homebrew. |
+
lazygit | +Simple terminal UI for git commands. | ++ | Yes | ++ |
lynis | +Security and system auditing tool to harden systems. | ++ | Yes | +Recommended install method: Git. | +
ncdu | +ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du'. | ++ | Yes | ++ |
neovim | +Vim-fork focused on extensibility and usability. | ++ | Yesnvim |
++ |
pstree | +List processes as a tree. | ++ | Yes | ++ |
pipenv | +Python dependency management tool. | ++ | Yes | ++ |
pipx | +Install and Run Python Applications in Isolated Environments. | ++ | Yes | +Recommended install method: Homebrew OR Pip. | +
python-is-python3 | +symlinks /usr/bin/python to python3. | +nan | +No | ++ |
shellcheck | +Shell script analysis tool. | ++ | Yes | ++ |
tmux | +tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. | ++ | Yes | ++ |
trash-cli | +Command line interface to the freedesktop.org trashcan. | ++ | Collection | +Recommended install method: Homebrew OR Pip. | +
tree | +Display directories as trees (with optional color/HTML output). | +nan | +Yes | ++ |
yt-dlp | +A feature-rich command-line audio/video downloader. | ++ | Yes | ++ |
zip | +Compression and file packaging/archive utility. | ++ | Yes | ++ |
zsh | +UNIX shell (command interpreter). | ++ | No | ++ |
zsh-autosuggestions | +Fish-like autosuggestions for zsh. | ++ | No | +Not a command. Zsh must be installed. Recommended install method: Git. |
+
zsh-completions | +Additional completion definitions for Zsh. | ++ | No | +Not a command. Zsh must be installed. Recommended install method: Git. |
+
zsh-syntax-highlighting | +Fish shell like syntax highlighting for Zsh. | ++ | No | +Not a command. Zsh must be installed. Recommended install method: Git. |
+
Oh-my-zsh is my preferred framework due to its popularity, reliability, and consistent updates. As one of the leading zsh frameworks, it made its initial commit on August 23, 2009, allowing it enough time to develop and refine its features.
+Below is a list of oh-my-zsh plugins that I use and find to provide useful functionality.
+In combination with oh-my-zsh, I use Powerlevel10k as my shell theme. It's highly configurable and very appealing to the eyes.
+Below are tshe configurations for my .zshrc
file, divided into two sections: macOS and Linux. The macOS configurations are tailored for macOS, while the other is designed for Linux.
You are welcome to use this resource in any manner you prefer. My intention is to offer it as a guide for structuring your own .zshrc
file and to present additional configurations not detailed elsewhere in this document.
.zshrc | |
---|---|
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 |
|
.zshrc | |
---|---|
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 |
|
This is a list of all the oh-my-zsh plugins that I use and find to provide useful functionality.
+Plugins | +Description | +Is a Command | +Other Info | +
---|---|---|---|
git | +The git plugin provides many aliases and a few useful functions | +Collection | ++ |
colored-man-pages | +Adds colors to man pages | +No | ++ |
copybuffer | +Allows you to copy what you are currently typing, via Ctrl+O | +Yes | +Key Combination: Ctrl+O | +
copypath | +Copies the path of your working directory | +Yes | ++ |
copyfile | +Copies the contents of a file | +Yes | ++ |
bgnotify | +cross-platform background notifications for long running commands | +No | +Extra install instructions | +
Below is a list of aliases that are in my .zshrc
files. They are broken up into two groups: Group 1 and Group 2. Group 1 contains general aliases, while Group 2 contains aliases listing categorized commands. Most of these commands are programs mentioned in Useful Programs, that I don't frequently use, but still want to have quick access to.
The terminal colors that are used for folders, files, and other items in the command line interface can be customized using the LS_COLORS
(macOS & Linux) and LSCOLORS
(macOS) environment variables. If you want to modify these colors, you can do so by setting the LS_COLORS
or LSCOLORS
variable in your .zshrc
file.
On macOS, both LSCOLORS
and LS_COLORS
are necessary for specifying terminal colors. LSCOLORS
is used for commands like ls
, determining the colors in the command line interface, whereas LS_COLORS
is used by zsh for similar purposes. In contrast, Linux only requires LS_COLORS
, which is employed by both the ls
command and zsh.
The underlying reason for this difference lies in the distinct versions of the ls
command on macOS (FreeBSD version) and Linux (GNU version). macOS's ls
command relies on LSCOLORS
for color settings, while Linux uses LS_COLORS
, each with its unique formatting. Moreover, since zsh recognizes only the LS_COLORS
format, it's imperative to use it on macOS to ensure proper display and functionality of CLI colors.
Included below is a key that explains the values of LSCOLORS
and LS_COLORS
in my configurations:
LSCOLORS | +LS_COLORS | +Type | +Text Color | +Foreground/Background Color | +
---|---|---|---|---|
ex | +di=34 | +Directories | +blue | +default | +
gx | +ln=36 | +Symbolic link | +cyan | +default | +
fx | +so=35 | +Socket | +magenta | +default | +
Dx | +pi=1;33 | +Pipe | +bold yellow | +default | +
cx | +ex=32 | +Executable | +green | +default | +
eg | +bd=34;46 | +Block special | +green | +cyan | +
Da | +cd=1;33;40 | +Character special | +bold yellow | +black | +
ab | +su=30;41 | +Executable with setuid bit set | +black | +red | +
ag | +sg=30;46 | +Executable with setgid bit set | +black | +cyan | +
ac | +tw=30;42 | +Directory writeable to others (with a sticky bit) | +black | +green | +
aD | +ow=30;1;43 | +Directory writeable to others (without sticky bit) | +black | +bold yellow | +
For an in-depth understanding of LS_COLORS and LSCOLORS, I recommend visiting this gist.
+Below are my configurations for both macOS and Linux systems. To apply these settings, simply insert the following code into your ~/.zshrc
file:
You can additionally modify the shading and appearance of the CLI colors by adjusting the ANSI-color scheme in your terminal profile. This can be done manually, with guides available for both macOS and Linux (gnome specific instructions). Alternatively, you can use my custom profile schemes, which are detailed in the Terminal Profile section.
+Due to the extensibility and community of Neovim, I have chosen it as my primary text editor, favoring it over the traditional Vi or Vim. Below are the configurations for my init.vim
file, which is located in the ~/.config/nvim/
directory. The configurations are divided into two sections: with and without vim-plug plugins.
The following configurations modify the behavior and appearance of vim. To use these settings, you'll first need to install vim-plug, a plugin manager for vim. While other vim package managers can be used, the configurations are tailored specifically for vim-plug.
+After installing vim-plug, copy the code below into your ~/.config/nvim/init.vim
file. With init.vim
open in nvim
, initiate the plugin installation by entering :source %
and :PlugInstall
as separate commands. This will prompt vim-plug to begin the installation of the plugins outlined in the configurations below.
Note
+When using :source %
, you can ignore any errors that might occur, as they are (most likely) a result of nvim looking for the plugins that have yet to be installed.
Here is a list of all the plugins listed in init.vim
, along with a description of what they do.
Plugins | +Description | +
---|---|
HiPhish/rainbow-delimiters.nvim | +Rainbow delimiters for Neovim with Tree-sitter. | +
vim-airline/vim-airline | +Lean & mean status/tabline for vim that's light as air. | +
vim-airline/vim-airline-themes | +A collection of themes for vim-airline. | +
morhetz/gruvbox | +Retro groove color scheme for Vim. | +
dense-analysis/ale | +Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support. | +
ntpeters/vim-better-whitespace | +Better whitespace highlighting for Vim. | +
nvim-treesitter/nvim-treesitter | +Nvim Treesitter configurations and abstraction layer. | +
mechatroner/rainbow_csv | +Highlight columns in CSV and TSV files and run queries in SQL-like language. | +
init.vim | |
---|---|
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 +100 +101 +102 +103 +104 +105 |
|
If you prefer not to use all the features offered by vim-plug, you can opt for a more basic setup by incorporating the configurations listed below into your .vimrc
file. These adjustments modify certain default settings of vim without altering the core functionality, providing a simpler, more streamlined experience while maintaining the essence of vim's default behavior.
...coming soon...
+...coming soon...
+My custom terminal profile is a modified version of the Basic profile that comes pre-installed on macOS. To add it to your list of profiles, follow the instructions below:
+My custom terminal profile is a based on the Terminal Profile that I use on macOS. To add it to your list of profiles, follow the instructions below:
+dconf load /org/gnome/terminal/legacy/profiles:/ < LOCATION_OF_DOWNLOADED_FILE
Warning
+Using the above dconf
command will overwrite all existing profiles
This document serves as a guide for how I customize my macOS and Linux terminals. It includes a variety of configurations, settings, and programs that I find useful for my daily workflow. The document is divided into several sections, each focusing on a different aspect of terminal customization.
"},{"location":"#notice","title":"NOTICE","text":"If you view this document on GitHub or as a standard markdown file, you will not see the interactive elements, such as the details and tabs. To view the document in its entirety, please visit the website.
"},{"location":"#useful-programs","title":"Useful Programs","text":"The following table contains a list of terminal programs that I find particularly useful. These programs are separated into two categories: Third Party Package Managers (TPPM) and Native Package Managers (NPM).
The Third Party Package Managers section includes programs not installed using the system's default package manager. These programs are typically installed using tools like Homebrew, Pip, Cargo, Npm, Gem, or Git. I've included a brief description of each program and the relevant package manager(s) that can install it.
Git InstallationsWhile most of these programs can be installed via git, they will not be marked as such unless recommended by the program's documentation or myself, or if it's the only other way to install the program.
The Native Package Managers section includes programs that can be installed using the system's default package manager. Since the primary Linux distributions I use are Debian based, all of the programs in this section are confirmed installable via apt. For other Linux distributions, you can check Repology to see if the program is available in your distribution's package manager. Like with TPPM, I've included a brief description for each program and a link with the number of repository families featuring the package.
Third Party Package ManagerNative Package Manager Programs Description Applicable OS's Available Package Managers Is a Command Other Info .tmux Oh my tmux! My self-contained, pretty & versatile tmux configuration made with. macOSLinux No Requirestmux
to be installed. bandwhich Terminal bandwidth utilization tool. macOSLinux Yes bat A cat(1) clone with wings. macOSLinux Yes black The uncompromising Python code formatter. macOSLinux Yes cheat Cheat allows you to create and view interactive cheatsheets on the command-line. macOSLinux Yes codespell Check code for common misspellings. macOSLinux Yes coreutils These are the GNU core utilities. This package is the union of the GNU fileutils
, sh-utils
, and textutils
packages. macOS Collection All GNU commands installed via coreutils, are the same as they are on Linux, but prefixed with a g
(i.e. gcp
for cp
). duf Disk Usage/Free Utility - a better 'df' alternative. macOSLinux Yes eza A modern, maintained replacement for ls
. macOSLinux Yes ffmpeg FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata. macOSLinux Yes fzf A command-line fuzzy finder. macOSLinux Yes fzf-tab Replace zsh's default completion selection menu with fzf! macOSLinux No gallery-dl Command-line program to download image galleries and collections from several image hosting sites. macOSLinux Yes git Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. macOSLinux Yes git-delta A syntax-highlighting pager for git, diff, and grep output macOSLinux No git-open Type git open
to open the GitHub page or website for a repository in your browser. macOSLinux Yesgit open
gnupg The GNU Privacy Guard macOSLinux Yesgpg
or gpg2
htop Improved top (interactive process viewer). macOSLinux Yes imagemagick Use ImageMagick\u00ae to create, edit, compose, or convert digital images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, WebP, HEIC, SVG, PDF, DPX, EXR and TIFF. macOSLinux Yesmagick
More info here. isort A Python utility / library to sort imports. macOSLinux Yes lazygit Simple terminal UI for git commands. macOSLinux Yes lynis Security and system auditing tool to harden systems. macOSLinux Yes Recommended install method: Git. ncdu ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du'. macOSLinux Yes neovim Vim-fork focused on extensibility and usability. macOSLinux Nonvim
prettier Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML. macOSLinux Yes pstree List processes as a tree. macOSLinux Yes pipenv Python dependency management tool. macOSLinux Yes pipx Install and Run Python Applications in Isolated Environments. macOSLinux Yes pyenv Simple Python version management. macOSLinux Yes pylint It's not just a linter that annoys you! macOSLinux Yes shellcheck Shell script analysis tool. macOSLinux Yes shellharden Shellharden is a syntax highlighter and a tool to semi-automate the rewriting of scripts to ShellCheck conformance, mainly focused on quoting. macOSLinux Yes terminal-notifier Send macOS User Notifications from the command-line. macOSLinux No Also see the bgnotify plugin. tmux tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. macOSLinux trash-cli Command line interface to the freedesktop.org trashcan. macOSLinux Collection tree Display directories as trees (with optional color/HTML output). macOSLinux Yes tree-sitter Tree-sitter is a parser generator tool and an incremental parsing library. macOSLinux No wget Wget is a free utility for non-interactive download of files from the Web. macOSLinux Yes yt-dlp A feature-rich command-line audio/video downloader. macOSLinux Yes zip Compression and file packaging/archive utility. macOSLinux Yes zsh UNIX shell (command interpreter). macOSLinux No zsh-autosuggestions Fish-like autosuggestions for zsh. macOSLinux No Zsh must be installed.Install instructions. zsh-completions Additional completion definitions for Zsh. macOSLinux No Zsh must be installed. zsh-syntax-highlighting Fish shell like syntax highlighting for Zsh. macOSLinux No Zsh must be installed.Install instructions. Applicable Operating Systems: Linux
Programs Description Number of Repository Families Featuring this Package Is a Command Other Info apt-listchanges Package change history notification tool. Yes Specific to Debian based distributions.Rarely used as a command. bandwhich Terminal bandwidth utilization tool. Yes bat-cat A cat(1) clone with wings. Yesbat
or batcat
or bat-cat
black The uncompromising Python code formatter. Yes Recommended install method: Homebrew OR Pip. codespell Check code for common misspellings. Yes deborphan Program that can find unused packages, e.g. libraries. Yes Specific to Debian based distributions. duf Disk Usage/Free Utility - a better 'df' alternative. Yes eza A modern, maintained replacement for ls
. Yes For the apt package installation, see here. ffmpeg FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata. ??? fzf A command-line fuzzy finder. Yes Recommended install method: Git OR Oh My Zsh gallery-dl Command-line program to download image galleries and collections from several image hosting sites. Yes git Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Yes git-delta A syntax-highlighting pager for git, diff, and grep output No gnupg The GNU Privacy Guard Yesgpg
or gpg2
htop A cross-platform interactive process viewer. Yes imagemagick Use ImageMagick\u00ae to create, edit, compose, or convert digital images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, WebP, HEIC, SVG, PDF, DPX, EXR and TIFF. Yesmagick
More info here.Recommended install method: Homebrew. lazygit Simple terminal UI for git commands. Yes lynis Security and system auditing tool to harden systems. Yes Recommended install method: Git. ncdu ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du'. Yes neovim Vim-fork focused on extensibility and usability. Yesnvim
pstree List processes as a tree. Yes pipenv Python dependency management tool. Yes pipx Install and Run Python Applications in Isolated Environments. Yes Recommended install method: Homebrew OR Pip. python-is-python3 symlinks /usr/bin/python to python3. nan No shellcheck Shell script analysis tool. Yes tmux tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. Yes trash-cli Command line interface to the freedesktop.org trashcan. Collection Recommended install method: Homebrew OR Pip. tree Display directories as trees (with optional color/HTML output). nan Yes yt-dlp A feature-rich command-line audio/video downloader. Yes zip Compression and file packaging/archive utility. Yes zsh UNIX shell (command interpreter). No zsh-autosuggestions Fish-like autosuggestions for zsh. No Not a command.Zsh must be installed.Recommended install method: Git. zsh-completions Additional completion definitions for Zsh. No Not a command.Zsh must be installed. Recommended install method: Git. zsh-syntax-highlighting Fish shell like syntax highlighting for Zsh. No Not a command.Zsh must be installed.Recommended install method: Git."},{"location":"#customizing-zsh-shell","title":"Customizing ZSH Shell","text":""},{"location":"#framework","title":"Framework","text":"Oh-my-zsh is my preferred framework due to its popularity, reliability, and consistent updates. As one of the leading zsh frameworks, it made its initial commit on August 23, 2009, allowing it enough time to develop and refine its features.
Below is a list of oh-my-zsh plugins that I use and find to provide useful functionality.
"},{"location":"#shell-theme","title":"Shell Theme","text":"In combination with oh-my-zsh, I use Powerlevel10k as my shell theme. It's highly configurable and very appealing to the eyes.
"},{"location":"#zsh-resource-file","title":"ZSH Resource File","text":"Below are tshe configurations for my .zshrc
file, divided into two sections: macOS and Linux. The macOS configurations are tailored for macOS, while the other is designed for Linux.
You are welcome to use this resource in any manner you prefer. My intention is to offer it as a guide for structuring your own .zshrc
file and to present additional configurations not detailed elsewhere in this document.
# CodeWhisperer pre block. Keep at the top of this file.\n[[ -f \"${HOME}/Library/Application Support/codewhisperer/shell/zshrc.pre.zsh\" ]] && builtin source \"${HOME}/Library/Application Support/codewhisperer/shell/zshrc.pre.zsh\"\n# If PowerLevel10K's Instant Prompt is enabled, `export GPG_TTY=$(tty)` needs to be\n# placed at the top of this file. Find more information here:\n# https://unix.stackexchange.com/questions/608842/zshrc-export-gpg-tty-tty-says-not-a-tty/608921#608921\nexport GPG_TTY=$(tty)\n# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.\n# Initialization code that may require console input (password prompts, [y/n]\n# confirmations, etc.) must go above this block; everything else may go below.\nif [[ -r \"${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh\" ]]; then\nsource \"${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh\"\nfi\n# Path to your oh-my-zsh installation.\nexport ZSH=\"$HOME/.oh-my-zsh\"\n# Set name of the theme to load --- if set to \"random\", it will\n# load a random theme each time oh-my-zsh is loaded, in which case,\n# to know which specific one was loaded, run: echo $RANDOM_THEME\n# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes\nZSH_THEME=\"powerlevel10k/powerlevel10k\"\n# Uncomment the following line to use case-sensitive completion.\n# CASE_SENSITIVE=\"true\"\n# Uncomment the following line to use hyphen-insensitive completion.\n# Case-sensitive completion must be off. _ and - will be interchangeable.\n# HYPHEN_INSENSITIVE=\"true\"\n# Uncomment the following line if pasting URLs and other text is messed up.\n# DISABLE_MAGIC_FUNCTIONS=true\n# Uncomment the following line to enable command auto-correction.\n# ENABLE_CORRECTION=\"true\"\n# Uncomment the following line if you want to change the command execution time\n# stamp shown in the history command output.\n# You can set one of the optional three formats:\n# \"mm/dd/yyyy\"|\"dd.mm.yyyy\"|\"yyyy-mm-dd\"\n# or set a custom format using the strftime function format specifications,\n# see 'man strftime' for details.\nHIST_STAMPS=\"yyyy-mm-dd\"\n# Which plugins would you like to load?\n# Standard plugins can be found in ~/.oh-my-zsh/plugins/*\n# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/\n# Example format: plugins=(rails git textmate ruby lighthouse)\n# Add wisely, as too many plugins slow down shell startup.\nplugins=(colored-man-pages copybuffer copypath copyfile bgnotify)\n# Zsh \"plugin\" installed via git and the following command:\n# git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions\nzsh_completion=\"${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src\"\n[[ -d $zsh_completion ]] && fpath+=${zsh_completion}\nsource \"$ZSH/oh-my-zsh.sh\"\n####[ Personal Configurations ]#########################################################\n####[[ Aliases ]]#######################################################################\n####[[[ Group 1 ]]]#####################################################################\n## General aliases.\nalias ic=\"cd ~/Library/Mobile\\ Documents/com~apple~CloudDocs\"\nalias edisk=\"cd /Volumes && ll\"\nalias zls=\"eza\"\nalias rmdsstore=\"find . -name '*.DS_Store' -type f -delete\"\nalias code=\"open -a 'Visual Studio Code.app' .\"\nalias formatc=\"find . -name '*.cs' -type f -exec clang-format --style=file:~/Programs/Mine/Formatter\\ Configs/CSharp_clang-format/_clang-format -i {} +\"\n## Update based aliases.\nalias updatezshplugins=\"bash ~/Programs/mass-git/mass-git -p ~/.oh-my-zsh/custom/plugins/ -r\"\nalias updatecopilot=\"bash ~/Programs/mass-git/mass-git -p ~/.config/nvim/pack/github/ -r\"\nalias updatebrew=\"brew update && brew upgrade && brew autoremove && brew cleanup && brew doctor\"\nalias updateomz=\"omz update\"\nalias updateall=\"updatebrew; updateomz; updatecopilot; updatezshplugins\"\n## GNU command aliases.\nalias cp=\"gcp\"\nalias mv=\"gmv\"\n####[[[ Group 2 ]]]#####################################################################\n#### Due to the number of commands that I find to be useful, I've created aliases\n#### containing some of these commands. They are specifically commands that I don't\n#### often use, but are useful to have on hand. Having these aliases allows me to see\n#### a list of these commands, without having to commit them to memeory.\nalias lt=\"echo -e \\\"\n####[ Package Manager installed commands ]##############################################\nbandwhich - Terminal bandwidth utilization tool.\nbat - A cat(1) clone with wings.\ncodespell - Check code for common misspellings.\nduf - Disk Usage/Free Utility - a better 'df' alternative.\nfzf - A command-line fuzzy finder.\nncdu - ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du'.\npstree - List processes as a tree.\ntmux - Terminal multiplexer.\n####[[ Grouped commands ]]##############################################################\nlt_conversion - List of programs used for converting the formats of videos, images, etc.\nlt_git - List of programs used for git related commands.\n####[ Keyboard combinations ]###########################################################\nCtrl + O - Allows you to copy what you are currently typing, via 'Ctrl' + 'O'.\n\\\"\"\nalias lt_conversion=\"echo -e \\\"\n########################################################################################\n#### [ Image and video formatters ]\nffmpeg - FFmpeg is a collection of libraries and tools to process multimedia content.\nmagick - Convert between image formats as well as resize an image, blur, crop,\n despeckle, dither, draw on, flip, join, re-sample, and much more.\n\\\"\"\nalias lt_git=\"echo -e \\\"\n####[ Git Related Commands ]###########################################################\nlazygit - Simple terminal UI for git commands.\ngit open - Opens the GitHub page for a repo/branch in your browser.\nugit - ugit helps you undo git commands without much effort.\n\\\"\"\n####[[[ SSH related commands ]]]########################################################\nalias hthompson=\"ssh -p 16449 hunter@143.198.55.59\"\nalias voidtech=\"ssh ranger@135.181.75.52\"\n####[[ Environmental Variables ]]#######################################################\n# 1Password auth socket.\nexport SSH_AUTH_SOCK=\"$HOME/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"\n## NVM setup...\nexport NVM_DIR=\"$HOME/.nvm\"\n[ -s \"/usr/local/opt/nvm/nvm.sh\" ] && \\. \"/usr/local/opt/nvm/nvm.sh\" # This loads nvm\n[ -s \"/usr/local/opt/nvm/etc/bash_completion.d/nvm\" ] && \\. \"/usr/local/opt/nvm/etc/bash_completion.d/nvm\" # This loads nvm bash_completion\n# Path purpose:\n# /usr/local/opt/curl/bin: ...\n# /usr/local/sbin: ???\n# /usr/local/opt/openjdk@17/bin: Prefered java version.\n# /usr/local/opt/node@18/bin: Prefered node version.\nexport PATH=\"/usr/local/opt/curl/bin:/usr/local/sbin:/usr/local/opt/openjdk@17/bin:/usr/local/opt/node@18/bin:$PATH\"\n# Modifies colors of files and directories when using `ls`.\nexport LSCOLORS=\"exgxfxDxcxegDaabagacaD\"\n## Version of LSCOLORS compatible with zsh and GNU based commands.\n## You can find more information about LS_COLORS and why it's needed in addition to LSCOLORS,\n## here: https://github.com/ohmyzsh/ohmyzsh/issues/6060#issuecomment-327934559\nexport LS_COLORS=\"di=34:ln=36:so=35:pi=1;33:ex=32:bd=34;46:cd=1;33;40:su=30;41:sg=30;46:tw=30;42:ow=30;1;43\"\n## Editor configurations.\nexport EDITOR=nvim\nexport VISUAL=$EDITOR\n####[[ Sourced Files ]]#################################################################\n# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.\n[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh\n\n# Zsh \"plugin\" installed via git and the following command:\n# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting\nzsh_syntax_highlighting=\"${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh\"\n[[ -f $zsh_syntax_highlighting ]] && source \"$zsh_syntax_highlighting\"\n# Zsh \"plugin\" installed via git and the following command:\n# git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions\nzsh_autosuggestions=\"${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh\"\n[[ -f $zsh_autosuggestions ]] && source \"$zsh_autosuggestions\"\n# Zsh \"plugin\" installed via git and the following command:\n# git clone https://github.com/Aloxaf/fzf-tab ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab\nfzf_tab=\"${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab/fzf-tab.plugin.zsh\"\n[[ -f $fzf_tab ]] && hash fzf 2>/dev/null && source \"$fzf_tab\"\n# Enable the use of '1password-cli' plugins.\nsource \"$HOME/.config/op/plugins.sh\"\n####[[ Zsh Style Configurations ]]######################################################\n# Disable sort when completing `git checkout`.\nzstyle ':completion:*:git-checkout:*' sort false\n# Set descriptions format to enable group support.\n# NOTE: Don't use escape sequences here, fzf-tab will ignore them.\nzstyle ':completion:*:descriptions' format '[%d]'\n# Set list-colors to enable filename colorizing.\nzstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}\n## Preview directory's content with `eza` when completing `cd`.\nhash eza 2>/dev/null \\\n&& zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'\n# Switch group using `<` and `>`.\nzstyle ':fzf-tab:*' switch-group '<' '>'\n####[[ Others ]]########################################################################\n#### These are generally configurations set up by setup scripts or other programs.\n# CodeWhisperer post block. Keep at the bottom of this file.\n[[ -f \"${HOME}/Library/Application Support/codewhisperer/shell/zshrc.post.zsh\" ]] && builtin source \"${HOME}/Library/Application Support/codewhisperer/shell/zshrc.post.zsh\"\n
.zshrc# If PowerLevel10K's Instant Prompt is enabled, `export GPG_TTY=$(tty)` needs to be\n# placed at the top of this file. Find more information here:\n# https://unix.stackexchange.com/questions/608842/zshrc-export-gpg-tty-tty-says-not-a-tty/608921#608921\nexport GPG_TTY=$(tty)\n# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.\n# Initialization code that may require console input (password prompts, [y/n]\n# confirmations, etc.) must go above this block; everything else may go below.\nif [[ -r \"${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh\" ]]; then\nsource \"${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh\"\nfi\n# Path to your oh-my-zsh installation.\nexport ZSH=\"$HOME/.oh-my-zsh\"\n# Set name of the theme to load --- if set to \"random\", it will\n# load a random theme each time oh-my-zsh is loaded, in which case,\n# to know which specific one was loaded, run: echo $RANDOM_THEME\n# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes\nZSH_THEME=\"powerlevel10k/powerlevel10k\"\n# Uncomment the following line to use case-sensitive completion.\n# CASE_SENSITIVE=\"true\"\n# Uncomment the following line to use hyphen-insensitive completion.\n# Case-sensitive completion must be off. _ and - will be interchangeable.\n# HYPHEN_INSENSITIVE=\"true\"\n# Uncomment the following line if pasting URLs and other text is messed up.\n# DISABLE_MAGIC_FUNCTIONS=true\n# Uncomment the following line to enable command auto-correction.\n# ENABLE_CORRECTION=\"true\"\n# Uncomment the following line if you want to change the command execution time\n# stamp shown in the history command output.\n# You can set one of the optional three formats:\n# \"mm/dd/yyyy\"|\"dd.mm.yyyy\"|\"yyyy-mm-dd\"\n# or set a custom format using the strftime function format specifications,\n# see 'man strftime' for details.\nHIST_STAMPS=\"yyyy-mm-dd\"\n# Which plugins would you like to load?\n# Standard plugins can be found in $ZSH/plugins/\n# Custom plugins may be added to $ZSH_CUSTOM/plugins/\n# Example format: plugins=(rails git textmate ruby lighthouse)\n# Add wisely, as too many plugins slow down shell startup.\n#plugins=(git colored-man-pages copybuffer copypath copyfile bgnotify) # Desktop\nplugins=(git colored-man-pages) # Server\n# Zsh \"plugin\" installed via git and the following command:\n# git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions\nzsh_completion=\"${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src\"\n[[ -d $zsh_completion ]] && fpath+=${zsh_completion}\nsource \"$ZSH/oh-my-zsh.sh\"\n####[ Personal Configurations ]#########################################################\n####[[ Aliases ]]#######################################################################\n####[[[ Group 1 ]]]#####################################################################\n## General aliases.\nalias zls=\"eza\"\n## Update based aliases.\nalias updatezshplugins=\"bash ~/Programs/mass-git/mass-git -p ~/.oh-my-zsh/custom/plugins/ -r\"\nalias updatecopilot=\"bash ~/Programs/mass-git/mass-git -p ~/.config/nvim/pack/github/ -r\"\nalias updateapt=\"sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y\"\nalias updateomz=\"omz update\"\nalias updateall=\"updateapt; updateomz; updatecopilot; updatezshplugins\"\n####[[[ Group 2 ]]]#####################################################################\n#### Due to the number of commands that I find to be useful, I've created aliases\n#### containing some of these commands. They are specifically commands that I don't\n#### often use, but are useful to have on hand. Having these aliases allows me to see\n#### a list of these commands, without having to commit them to memeory.\nalias lt=\"echo -e \\\"\n####[ Package Manager installed commands ]##############################################\nbandwhich - Terminal bandwidth utilization tool.\nbat - A cat(1) clone with wings.\ncheat - Allows you to create and view interactive cheatsheets on the command-line.\ncodespell - Check code for common misspellings.\nduf - Disk Usage/Free Utility - a better 'df' alternative.\nfzf - A command-line fuzzy finder.\nncdu - ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du'.\npstree - List processes as a tree.\ntmux - Terminal multiplexer.\n####[[ Grouped commands ]]##############################################################\nlt_conversion - List of programs used for converting the formats of videos, images, etc.\nlt_git - List of programs used for git related commands.\n####[ Keyboard combinations ]###########################################################\nCtrl + O - Allows you to copy what you are currently typing, via 'Ctrl' + 'O'.\n\\\"\"\nalias lt_conversion=\"echo -e \\\"\n########################################################################################\n#### [ Image and video formatters ]\nffmpeg - FFmpeg is a collection of libraries and tools to process multimedia content.\nmagick - Convert between image formats as well as resize an image, blur, crop,\n despeckle, dither, draw on, flip, join, re-sample, and much more.\n\\\"\"\nalias lt_git=\"echo -e \\\"\n####[ Git Related Commands ]###########################################################\nlazygit - Simple terminal UI for git commands.\ngit open - Opens the GitHub page for a repo/branch in your browser.\nugit - ugit helps you undo git commands without much effort.\n\\\"\"\n####[[ Environmental Variables ]]#######################################################\n## Modifies the colors of files and directories in the terminal.\nexport LS_COLORS=\"di=34:ln=36:so=35:pi=1;33:ex=32:bd=34;46:cd=1;33;40:su=30;41:sg=30;46:tw=30;42:ow=30;1;43\"\n# This is set in the Zsh Style Configurations section.\n#zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}\n# PATH value...\nexport PATH=\"$PATH:$HOME/.local/bin\"\n####[[ Sourced Files ]]#################################################################\n# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.\n[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh\n\n# Zsh \"plugin\" installed via git and the following command:\n# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting\nzsh_syntax_highlighting=\"${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh\"\n[[ -f $zsh_syntax_highlighting ]] && source \"$zsh_syntax_highlighting\"\n# Zsh \"plugin\" installed via git and the following command:\n# git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions\nzsh_autosuggestions=\"${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh\"\n[[ -f $zsh_autosuggestions ]] && source \"$zsh_autosuggestions\"\n# Zsh \"plugin\" installed via git and the following command:\n# git clone https://github.com/Aloxaf/fzf-tab ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab\nfzf_tab=\"${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab/fzf-tab.plugin.zsh\"\n[[ -f $fzf_tab ]] && hash fzf 2>/dev/null && source \"$fzf_tab\"\n####[[ Zsh Style Configurations ]]######################################################\n# Disable sort when completing `git checkout`.\nzstyle ':completion:*:git-checkout:*' sort false\n# Set descriptions format to enable group support.\n# NOTE: Don't use escape sequences here, fzf-tab will ignore them.\nzstyle ':completion:*:descriptions' format '[%d]'\n# Set list-colors to enable filename colorizing.\nzstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}\n## Preview directory's content with `eza` when completing `cd`.\nhash eza 2>/dev/null \\\n&& zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'\n# Wwitch group using `<` and `>`.\nzstyle ':fzf-tab:*' switch-group '<' '>'\n####[[ Others ]]########################################################################\n#### These are generally configurations set up by setup scripts or other programs.\n
"},{"location":"#oh-my-zsh-plugins","title":"Oh-my-zsh Plugins","text":"This is a list of all the oh-my-zsh plugins that I use and find to provide useful functionality.
Plugins Description Is a Command Other Info git The git plugin provides many aliases and a few useful functions Collection colored-man-pages Adds colors to man pages No copybuffer Allows you to copy what you are currently typing, via Ctrl+O Yes Key Combination: Ctrl+O copypath Copies the path of your working directory Yes copyfile Copies the contents of a file Yes bgnotify cross-platform background notifications for long running commands No Extra install instructions"},{"location":"#custom-aliases","title":"Custom Aliases","text":"Below is a list of aliases that are in my .zshrc
files. They are broken up into two groups: Group 1 and Group 2. Group 1 contains general aliases, while Group 2 contains aliases listing categorized commands. Most of these commands are programs mentioned in Useful Programs, that I don't frequently use, but still want to have quick access to.
####[[ Aliases ]]#######################################################################\n####[[[ Group 1 ]]]#####################################################################\n## General aliases.\nalias ic=\"cd ~/Library/Mobile\\ Documents/com~apple~CloudDocs\"\nalias edisk=\"cd /Volumes && ll\"\nalias zls=\"eza\"\nalias rmdsstore=\"find . -name '*.DS_Store' -type f -delete\"\nalias code=\"open -a 'Visual Studio Code.app' .\"\nalias formatc=\"find . -name '*.cs' -type f -exec clang-format --style=file:~/Programs/Mine/Formatter\\ Configs/CSharp_clang-format/_clang-format -i {} +\"\n## Update based aliases.\nalias updatezshplugins=\"bash ~/Programs/mass-git/mass-git -p ~/.oh-my-zsh/custom/plugins/ -r\"\nalias updatecopilot=\"bash ~/Programs/mass-git/mass-git -p ~/.config/nvim/pack/github/ -r\"\nalias updatebrew=\"brew update && brew upgrade && brew autoremove && brew cleanup && brew doctor\"\nalias updateomz=\"omz update\"\nalias updateall=\"updatebrew; updateomz; updatecopilot; updatezshplugins\"\n## GNU command aliases.\nalias cp=\"gcp\"\nalias mv=\"gmv\"\n####[[[ Group 2 ]]]#####################################################################\n#### Due to the number of commands that I find to be useful, I've created aliases\n#### containing some of these commands. They are specifically commands that I don't\n#### often use, but are useful to have on hand. Having these aliases allows me to see\n#### a list of these commands, without having to commit them to memeory.\nalias lt=\"echo -e \\\"\n####[ Package Manager installed commands ]##############################################\nbandwhich - Terminal bandwidth utilization tool.\nbat - A cat(1) clone with wings.\ncodespell - Check code for common misspellings.\nduf - Disk Usage/Free Utility - a better 'df' alternative.\nfzf - A command-line fuzzy finder.\nncdu - ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du'.\npstree - List processes as a tree.\ntmux - Terminal multiplexer.\n####[[ Grouped commands ]]##############################################################\nlt_conversion - List of programs used for converting the formats of videos, images, etc.\nlt_git - List of programs used for git related commands.\n####[ Keyboard combinations ]###########################################################\nCtrl + O - Allows you to copy what you are currently typing, via 'Ctrl' + 'O'.\n\\\"\"\nalias lt_conversion=\"echo -e \\\"\n########################################################################################\n#### [ Image and video formatters ]\nffmpeg - FFmpeg is a collection of libraries and tools to process multimedia content.\nmagick - Convert between image formats as well as resize an image, blur, crop,\n despeckle, dither, draw on, flip, join, re-sample, and much more.\n\\\"\"\nalias lt_git=\"echo -e \\\"\n####[ Git Related Commands ]###########################################################\nlazygit - Simple terminal UI for git commands.\ngit open - Opens the GitHub page for a repo/branch in your browser.\nugit - ugit helps you undo git commands without much effort.\n\\\"\"\n
.zshrc####[[ Aliases ]]#######################################################################\n####[[[ Group 1 ]]]#####################################################################\n## General aliases.\nalias zls=\"eza\"\n## Update based aliases.\nalias updatezshplugins=\"bash ~/Programs/mass-git/mass-git -p ~/.oh-my-zsh/custom/plugins/ -r\"\nalias updatecopilot=\"bash ~/Programs/mass-git/mass-git -p ~/.config/nvim/pack/github/ -r\"\nalias updateapt=\"sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y\"\nalias updateomz=\"omz update\"\nalias updateall=\"updateapt; updateomz; updatecopilot; updatezshplugins\"\n####[[[ Group 2 ]]]#####################################################################\n#### Due to the number of commands that I find to be useful, I've created aliases\n#### containing some of these commands. They are specifically commands that I don't\n#### often use, but are useful to have on hand. Having these aliases allows me to see\n#### a list of these commands, without having to commit them to memeory.\nalias lt=\"echo -e \\\"\n####[ Package Manager installed commands ]##############################################\nbandwhich - Terminal bandwidth utilization tool.\nbat - A cat(1) clone with wings.\ncheat - Allows you to create and view interactive cheatsheets on the command-line.\ncodespell - Check code for common misspellings.\nduf - Disk Usage/Free Utility - a better 'df' alternative.\nfzf - A command-line fuzzy finder.\nncdu - ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du'.\npstree - List processes as a tree.\ntmux - Terminal multiplexer.\n####[[ Grouped commands ]]##############################################################\nlt_conversion - List of programs used for converting the formats of videos, images, etc.\nlt_git - List of programs used for git related commands.\n####[ Keyboard combinations ]###########################################################\nCtrl + O - Allows you to copy what you are currently typing, via 'Ctrl' + 'O'.\n\\\"\"\nalias lt_conversion=\"echo -e \\\"\n########################################################################################\n#### [ Image and video formatters ]\nffmpeg - FFmpeg is a collection of libraries and tools to process multimedia content.\nmagick - Convert between image formats as well as resize an image, blur, crop,\n despeckle, dither, draw on, flip, join, re-sample, and much more.\n\\\"\"\nalias lt_git=\"echo -e \\\"\n####[ Git Related Commands ]###########################################################\nlazygit - Simple terminal UI for git commands.\ngit open - Opens the GitHub page for a repo/branch in your browser.\nugit - ugit helps you undo git commands without much effort.\n\\\"\"\n
"},{"location":"#modifying-cli-colors","title":"Modifying CLI Colors","text":"The terminal colors that are used for folders, files, and other items in the command line interface can be customized using the LS_COLORS
(macOS & Linux) and LSCOLORS
(macOS) environment variables. If you want to modify these colors, you can do so by setting the LS_COLORS
or LSCOLORS
variable in your .zshrc
file.
On macOS, both LSCOLORS
and LS_COLORS
are necessary for specifying terminal colors. LSCOLORS
is used for commands like ls
, determining the colors in the command line interface, whereas LS_COLORS
is used by zsh for similar purposes. In contrast, Linux only requires LS_COLORS
, which is employed by both the ls
command and zsh.
The underlying reason for this difference lies in the distinct versions of the ls
command on macOS (FreeBSD version) and Linux (GNU version). macOS's ls
command relies on LSCOLORS
for color settings, while Linux uses LS_COLORS
, each with its unique formatting. Moreover, since zsh recognizes only the LS_COLORS
format, it's imperative to use it on macOS to ensure proper display and functionality of CLI colors.
Included below is a key that explains the values of LSCOLORS
and LS_COLORS
in my configurations:
For an in-depth understanding of LS_COLORS and LSCOLORS, I recommend visiting this gist.
Below are my configurations for both macOS and Linux systems. To apply these settings, simply insert the following code into your ~/.zshrc
file:
# Modifies colors of files and directories when using `ls`.\nexport LSCOLORS=\"exgxfxDxcxegDaabagacaD\"\n## Version of LSCOLORS compatible with zsh and GNU based commands.\n## You can find more information about LS_COLORS and why it's needed in addition to LSCOLORS,\n## here: https://github.com/ohmyzsh/ohmyzsh/issues/6060#issuecomment-327934559\nexport LS_COLORS=\"di=34:ln=36:so=35:pi=1;33:ex=32:bd=34;46:cd=1;33;40:su=30;41:sg=30;46:tw=30;42:ow=30;1;43\"\nzstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}\n
CLI Color Configuration## Modifies the colors of files and directories in the terminal.\nexport LS_COLORS=\"di=34:ln=36:so=35:pi=1;33:ex=32:bd=34;46:cd=1;33;40:su=30;41:sg=30;46:tw=30;42:ow=30;1;43\"\nzstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}\n
You can additionally modify the shading and appearance of the CLI colors by adjusting the ANSI-color scheme in your terminal profile. This can be done manually, with guides available for both macOS and Linux (gnome specific instructions). Alternatively, you can use my custom profile schemes, which are detailed in the Terminal Profile section.
"},{"location":"#neovim-resource-file","title":"Neovim Resource File","text":"Due to the extensibility and community of Neovim, I have chosen it as my primary text editor, favoring it over the traditional Vi or Vim. Below are the configurations for my init.vim
file, which is located in the ~/.config/nvim/
directory. The configurations are divided into two sections: with and without vim-plug plugins.
The following configurations modify the behavior and appearance of vim. To use these settings, you'll first need to install vim-plug, a plugin manager for vim. While other vim package managers can be used, the configurations are tailored specifically for vim-plug.
After installing vim-plug, copy the code below into your ~/.config/nvim/init.vim
file. With init.vim
open in nvim
, initiate the plugin installation by entering :source %
and :PlugInstall
as separate commands. This will prompt vim-plug to begin the installation of the plugins outlined in the configurations below.
Note
When using :source %
, you can ignore any errors that might occur, as they are (most likely) a result of nvim looking for the plugins that have yet to be installed.
Here is a list of all the plugins listed in init.vim
, along with a description of what they do.
\"\"\"\"[ vim-plug Configurations ]\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\ncall plug#begin(stdpath('data') . '/plugged')\n\" Make sure you use single quotes\n\" Vim help for vim-plug itself\nPlug 'junegunn/vim-plug'\n\" Rainbow delimiters for Neovim with Tree-sitter.\nPlug 'HiPhish/rainbow-delimiters.nvim'\n\" Lean & mean status/tabline for vim that's light as air.\nPlug 'vim-airline/vim-airline'\n\" A collection of themes for vim-airline.\nPlug 'vim-airline/vim-airline-themes'\n\" Retro groove color scheme for Vim.\nPlug 'sainnhe/gruvbox-material'\n\" Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP)\n\" support.\nPlug 'dense-analysis/ale'\n\" Better whitespace highlighting for Vim.\nPlug 'ntpeters/vim-better-whitespace'\n\" An incremental parsing system for programming tools.\nPlug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}\n\" Highlight columns in CSV and TSV files and run queries in SQL-like language.\nPlug 'mechatroner/rainbow_csv'\n\" Initialize plugin system\ncall plug#end()\n\"\n\" Brief help:\n\" PlugInstall - Install plugins\n\" PlugUpdate - Install or update plugins\n\" PlugClean - Remove unlisted plugins (bang version will clean without prompt)\n\" PlugUpgrade - Upgrade vim-plug itself\n\" PlugStatus - Check the status of plugins\n\" PlugDiff - Examine changes from the previous update and the pending changes\n\" PlugSnapshot - Generate script for restoring the current snapshot of the plugins\n\"\"\"\"[ Non-vim-plug Related Configurations ]\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\"\" Overwrites specified default setting.\nset tabstop=4 \" Tells vim how many columns a tab counts for.\nset shiftwidth=4 \" 'Levels of indentation', where a level of indentation is\n \" shiftwidth columns of whitespace.\nset expandtab \" Ensure that when you hit tab it will actually use spaces.\nset colorcolumn=88 \" Set a colored line at column 88 in every row.\n\"\" Markdown files\nautocmd Filetype markdown setlocal colorcolumn=0\n\"\" TXT files\nautocmd Filetype text setlocal colorcolumn=0\n\"\" Java\nautocmd Filetype java setlocal colorcolumn=94\n\"\" C#\nautocmd Filetype cs setlocal colorcolumn=120\n\"\" HTML\nautocmd Filetype html setlocal colorcolumn=100 tabstop=2 shiftwidth=2 nowrap\n\"\" CSS\nautocmd Filetype css setlocal colorcolumn=100 tabstop=2 shiftwidth=2 nowrap\n\"\" Vue\nautocmd Filetype vue setlocal colorcolumn=100 tabstop=2 shiftwidth=2\n\"\"\"\"[ vim-plug Plugin Configurations ]\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\" Font: Power Line Font\nset guifont=MesloLGS_NF:h12\n\n\"\" Plugin: gruvbox-material\ncolorscheme gruvbox-material\nset background=dark\nlet g:gruvbox_material_foreground = 'original'\nlet g:gruvbox_material_enable_bold = 1\nlet g:gruvbox_material_enable_italic = 1\n\"\" Plugin: vim-airline\nlet g:airline#extensions#tabline#enabled = 1\nlet g:airline#extensions#tabline#left_sep = ' '\nlet g:airline#extensions#tabline#left_alt_sep = '|'\nlet g:airline#extensions#tabline#formatter = 'default'\nlet g:airline#extensions#ale#enabled = 1\nlet g:airline_powerline_fonts = 1\n\"\" Plugin: better-whitespace\nlet g:better_whitespace_enabled = 1\nlet g:strip_whitespace_on_save = 1\n\"\" Plugin: ale\n\"let g:ale_use_neovim_diagnostics_api = 0\n\"\"\"\"[ Useful Commands ]\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\" :NERDTree - Opens NERDTree file system explorer.\n\" :StripWhitespace - Clean extra whitespace.\n\" :ALEInfo - Show ALE information.\n\" :ALEToggle - Toggle ALE on/off.\n\" :TSInstall - Install treesitter parsers.\n\" :TSUpdate - Update treesitter parsers.\n\" :TSInstallInfo - Show treesitter information.\n
"},{"location":"#without-vim-plug-plugins","title":"Without Vim-Plug Plugins","text":"If you prefer not to use all the features offered by vim-plug, you can opt for a more basic setup by incorporating the configurations listed below into your .vimrc
file. These adjustments modify certain default settings of vim without altering the core functionality, providing a simpler, more streamlined experience while maintaining the essence of vim's default behavior.
\"\" Overwrites specified default setting.\nset tabstop=4 \" Tells vim how many columns a tab counts for.\nset shiftwidth=4 \" 'Levels of indentation', where a level of indentation is\n \" shiftwidth columns of whitespace.\nset expandtab \" Ensure that when you hit tab it will actually use spaces.\nset colorcolumn=88 \" Set a colored line at column 88 in every row.\n\"\" Markdown files\nautocmd Filetype markdown setlocal colorcolumn=0\n\"\" TXT files\nautocmd Filetype text setlocal colorcolumn=0\n\"\" Java\nautocmd Filetype java setlocal colorcolumn=94\n\"\" C#\nautocmd Filetype cs setlocal colorcolumn=120\n\"\" HTML\nautocmd Filetype html setlocal colorcolumn=100 tabstop=2 shiftwidth=2 nowrap\n\"\" CSS\nautocmd Filetype css setlocal colorcolumn=100 tabstop=2 shiftwidth=2 nowrap\n\"\" Vue\nautocmd Filetype vue setlocal colorcolumn=100 tabstop=2 shiftwidth=2\n
"},{"location":"#neovim-github-copilot","title":"Neovim GitHub Copilot","text":"...coming soon...
"},{"location":"#installed-treesitter-parsers","title":"Installed TreeSitter Parsers","text":"...coming soon...
"},{"location":"#terminal-profile","title":"Terminal Profile","text":"macOSLinuxMy custom terminal profile is a modified version of the Basic profile that comes pre-installed on macOS. To add it to your list of profiles, follow the instructions below:
My custom terminal profile is a based on the Terminal Profile that I use on macOS. To add it to your list of profiles, follow the instructions below:
dconf load /org/gnome/terminal/legacy/profiles:/ < LOCATION_OF_DOWNLOADED_FILE
Warning
Using the above dconf
command will overwrite all existing profiles
All notable changes to this project will be documented in this file.
As a note, if the changelog only says \"removed(program)\", assume it's been removed from the entire readme. If it's only from a specific section, it'll be specified within the parentheses of the change.
"},{"location":"CHANGELOG/#2024425","title":"2024.4.25","text":"cheat
fzf-tab
eza
mechatroner/rainbow_csv
fzf
is installed before sourcing fzf-tab
.autoload
and source
.fzf
on Linux.eza
.lsd
based aliases.PATH
variable updated.This update is a major overhaul and rewrite of the entire repository. Because of this, I will not be listing all of the changes, as it would be too much to list. However, I will list some of the major changes:
ntpeters/vim-better-whitespace
.git
plugin..zshrc
no longer contain the ENTIRE contents of my .zshrc
, rather just most of the general configurations. It was becoming too much of a pain to continuously document every little change.fd
/fd-find
git-quick-stats
valloric/youcompleteme
.LS_COLORS
, to match LSCOLORS
...set colorcolumn=89
.fzf
.zsh-completions
.gallery-dl
.zsh-autosuggestions
, removing the need to source it.LS_COLORS
.LSCOLOR
is now set from exgxfxDxcxegDhabagacaD
to exgxfxDxcxegDhabagacaD
.bottom
.hstr
.mkdocs.yml
.mkdocs.yml
.mkdocs-requirements.txt
.copydir
to copypath
..zshrc
and .vimrc
files, uses the code from the files in the insides
folder.git-quick-stats
.pyenv
.ffmpeg
.asciinema
.m-cli
..tmux
.tmux
.imagemagick
.duti
.jq
.Homebrew Command Not Found
.symboliclinker
.tmux
and wget
and tree
, as they are usually installed by default.gistome
.git-extras
.davidhalter/jedi-vim
.tpope/vim-fugitive
.edkolev/tmuxline.vim
.pdfgrep
.hub
.cloc
.README.md
.This is the first \"release\" where all configurations and such have been completely added.
"},{"location":"LICENSE/","title":"License","text":"MIT License
Copyright \u00a9 2020-2024 Hunter T. (StrangeRanger)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..0f8724e --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,3 @@ + +