mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-19 15:51:00 +01:00
Compare commits
3 Commits
b9c9fcfd3f
...
7b516064ec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b516064ec | ||
|
|
9ad0ce6482 | ||
|
|
26863c50b3 |
@@ -22,6 +22,7 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen
|
|||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
| -------- | --------------------------------------- | --------------------------------------------------------------------- |
|
| -------- | --------------------------------------- | --------------------------------------------------------------------- |
|
||||||
| `ba` | `brew autoremove` | Uninstall unnecessary formulae. |
|
| `ba` | `brew autoremove` | Uninstall unnecessary formulae. |
|
||||||
|
| `bcfg` | `brew config` | Show Homebrew and system configuration info useful for debugging. |
|
||||||
| `bci` | `brew info --cask` | Display information about the given cask. |
|
| `bci` | `brew info --cask` | Display information about the given cask. |
|
||||||
| `bcin` | `brew install --cask` | Install the given cask. |
|
| `bcin` | `brew install --cask` | Install the given cask. |
|
||||||
| `bcl` | `brew list --cask` | List installed casks. |
|
| `bcl` | `brew list --cask` | List installed casks. |
|
||||||
@@ -31,6 +32,7 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen
|
|||||||
| `bcubc` | `brew upgrade --cask && brew cleanup` | Upgrade outdated casks, then run cleanup. |
|
| `bcubc` | `brew upgrade --cask && brew cleanup` | Upgrade outdated casks, then run cleanup. |
|
||||||
| `bcubo` | `brew update && brew outdated --cask` | Update Homebrew data, then list outdated casks. |
|
| `bcubo` | `brew update && brew outdated --cask` | Update Homebrew data, then list outdated casks. |
|
||||||
| `bcup` | `brew upgrade --cask` | Upgrade all outdated casks. |
|
| `bcup` | `brew upgrade --cask` | Upgrade all outdated casks. |
|
||||||
|
| `bdr` | `brew doctor` | Check your system for potential problems. |
|
||||||
| `bfu` | `brew upgrade --formula` | Upgrade only formulae (not casks). |
|
| `bfu` | `brew upgrade --formula` | Upgrade only formulae (not casks). |
|
||||||
| `bi` | `brew install` | Install a formula. |
|
| `bi` | `brew install` | Install a formula. |
|
||||||
| `bl` | `brew list` | List all installed formulae. |
|
| `bl` | `brew list` | List all installed formulae. |
|
||||||
@@ -38,6 +40,7 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen
|
|||||||
| `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
|
| `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
|
||||||
| `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. |
|
| `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. |
|
||||||
| `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
|
| `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
|
||||||
|
| `bs` | `brew search` | Perform a substring search of cask tokens and formula names for text. |
|
||||||
| `bsl` | `brew services list` | List all running services. |
|
| `bsl` | `brew services list` | List all running services. |
|
||||||
| `bsoff` | `brew services stop` | Stop the service and unregister it from launching at login (or boot). |
|
| `bsoff` | `brew services stop` | Stop the service and unregister it from launching at login (or boot). |
|
||||||
| `bsoffa` | `bsoff --all` | Stop all started services. |
|
| `bsoffa` | `bsoff --all` | Stop all started services. |
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ if [[ -d "$HOMEBREW_PREFIX/share/zsh/site-functions" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
alias ba='brew autoremove'
|
alias ba='brew autoremove'
|
||||||
|
alias bcfg='brew config'
|
||||||
alias bci='brew info --cask'
|
alias bci='brew info --cask'
|
||||||
alias bcin='brew install --cask'
|
alias bcin='brew install --cask'
|
||||||
alias bcl='brew list --cask'
|
alias bcl='brew list --cask'
|
||||||
@@ -44,12 +45,14 @@ alias bcrin='brew reinstall --cask'
|
|||||||
alias bcubc='brew upgrade --cask && brew cleanup'
|
alias bcubc='brew upgrade --cask && brew cleanup'
|
||||||
alias bcubo='brew update && brew outdated --cask'
|
alias bcubo='brew update && brew outdated --cask'
|
||||||
alias bcup='brew upgrade --cask'
|
alias bcup='brew upgrade --cask'
|
||||||
|
alias bdr='brew doctor'
|
||||||
alias bfu='brew upgrade --formula'
|
alias bfu='brew upgrade --formula'
|
||||||
alias bi='brew install'
|
alias bi='brew install'
|
||||||
alias bl='brew list'
|
alias bl='brew list'
|
||||||
alias bo='brew outdated'
|
alias bo='brew outdated'
|
||||||
alias brewp='brew pin'
|
alias brewp='brew pin'
|
||||||
alias brewsp='brew list --pinned'
|
alias brewsp='brew list --pinned'
|
||||||
|
alias bs='brew search'
|
||||||
alias bsl='brew services list'
|
alias bsl='brew services list'
|
||||||
alias bsoff='brew services stop'
|
alias bsoff='brew services stop'
|
||||||
alias bsoffa='bsoff --all'
|
alias bsoffa='bsoff --all'
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
# gpg-agent
|
# gpg-agent
|
||||||
|
|
||||||
Enables [GPG's gpg-agent](https://www.gnupg.org/documentation/manuals/gnupg/) if it is not running.
|
Applies some fixes for some common issues encountered with [GPG's gpg-agent](https://www.gnupg.org/documentation/manuals/gnupg/).
|
||||||
|
|
||||||
|
More specifically, this plugin:
|
||||||
|
|
||||||
|
- Updates the `GPG_TTY` environment variable before each shell execution.
|
||||||
|
- Updates the `SSH_AUTH_SOCK` environment variable if `enable-ssh-support` is turned on.
|
||||||
|
|
||||||
To use it, add `gpg-agent` to the plugins array of your zshrc file:
|
To use it, add `gpg-agent` to the plugins array of your zshrc file:
|
||||||
|
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ magic-enter() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command jj st &>/dev/null; then # needs to be before git to handle colocated repositories
|
if command jj st >/dev/null 2>&1; then # needs to be before git to handle colocated repositories
|
||||||
BUFFER="$MAGIC_ENTER_JJ_COMMAND"
|
BUFFER="$MAGIC_ENTER_JJ_COMMAND"
|
||||||
elif command git rev-parse --is-inside-work-tree &>/dev/null; then
|
elif command git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||||
BUFFER="$MAGIC_ENTER_GIT_COMMAND"
|
BUFFER="$MAGIC_ENTER_GIT_COMMAND"
|
||||||
else
|
else
|
||||||
BUFFER="$MAGIC_ENTER_OTHER_COMMAND"
|
BUFFER="$MAGIC_ENTER_OTHER_COMMAND"
|
||||||
|
|||||||
Reference in New Issue
Block a user