dotfiles

(★ 12)

Colemak dotfiles configuration that gives you superpowers.

File Explorer

  • .p10k.zsh
  • .tmux.conf
  • .tmux.conf.local
  • .vimrc
  • .zshrc
  • LICENSE
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

lazygit

View Details ▼

A simple terminal UI for Git commands, providing an intuitive interface for managing repositories.

lazygit

Open Lazygit in the current repository:

lazygit {{[-p|--path]}} {{path/to/repository}}

Open Lazygit for a specific Git repository:

lazygit {{status|branch|log|stash|...}}

Start Lazygit with focus on a specific panel:

🔍

tmux

View Details ▼

Terminal multiplexer.
It allows multiple sessions with windows, panes, and more.
See also: `zellij`, `screen`, `herdr`.

tmux

Start a new session:

tmux {{[new|new-session]}} -s {{name}}

Start a new named [s]ession:

tmux {{[ls|list-sessions]}}

List existing sessions:

🔍

vim

View Details ▼

Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation.
Pressing `<i>` in normal mode enters insert mode. Pressing `<Esc>` goes back to normal mode, which enables the use of Vim commands.
See also: `vimdiff`, `vimtutor`, `nvim`, `gvim`.

vim {{path/to/file}}

Open a file:

vim +{{line_number}} {{path/to/file}}

Open a file at a specified line number:

<:>help<Enter>

View Vim's help manual:

🔍

zsh

View Details ▼

Z SHell, a Bash-compatible command-line interpreter.
See also: `bash`, `!`, `^`.

zsh

Start an interactive shell session:

zsh -c "{{echo Hello world}}"

Execute specific [c]ommands:

zsh {{path/to/script.zsh}}

Execute a specific script:

🔍

apt install

View Details ▼

Install packages for Debian-based distributions.

sudo apt install {{package}}

Install a package, or update it to the latest version:

sudo apt install {{[-V|--verbose-versions]}} {{package}}

Display verbose package version information during installation or update:

🔍

xclip

View Details ▼

X11 clipboard manipulation tool, similar to `xsel`.
Handles the X primary and secondary selections, plus the system clipboard (`<Ctrl c>`/`<Ctrl v>`).
See also: `wl-copy`.

echo 123 | xclip

Copy the output from a command to the X11 primary selection area (clipboard):

echo 123 | xclip {{[-se|-selection]}} {{primary|secondary|clipboard}}

Copy the output from a command to a given X11 selection area:

echo 123 | xclip {{[-se|-selection]}} {{[c|clipboard]}}

Copy the output from a command to the system clipboard, using short notation:

🔍

pbcopy

View Details ▼

Copy data from `stdin` to the clipboard.
Comparable to pressing `<Cmd c>` on the keyboard.

pbcopy < {{path/to/file}}

Place the contents of a specific file in the clipboard:

find . -type t -name "*.png" | pbcopy

Place the results of a specific command in the clipboard:

🔍

octo

View Details ▼

Tools for Octopus Deploy.

octo pack --id {{package}}

Create a package:

octo push --package {{package}}

Push a package to a repository on the Octopus server:

octo create-release --project {{project_name}} --packageversion {{version}}

Create a release:

// repository documentation