Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
cf0c8004
Unverified
Commit
cf0c8004
authored
Apr 06, 2023
by
François M
Committed by
GitHub
Apr 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(toolbox)!: rename and add aliases (#11580)
parent
25c2c3a4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
README.md
plugins/toolbox/README.md
+2
-1
toolbox.plugin.zsh
plugins/toolbox/toolbox.plugin.zsh
+2
-1
No files found.
plugins/toolbox/README.md
View file @
cf0c8004
...
@@ -22,4 +22,5 @@ RPROMPT='$(toolbox_prompt_info)'
...
@@ -22,4 +22,5 @@ RPROMPT='$(toolbox_prompt_info)'
| Alias | Command | Description |
| Alias | Command | Description |
|-------|----------------------|----------------------------------------|
|-------|----------------------|----------------------------------------|
| tb |
`toolbox enter`
| Enters the toolbox environment |
| tbe |
`toolbox enter`
| Enters the toolbox environment |
| tbr |
`toolbox run`
| Run a command in an existing toolbox |
plugins/toolbox/toolbox.plugin.zsh
View file @
cf0c8004
...
@@ -2,4 +2,5 @@ function toolbox_prompt_info() {
...
@@ -2,4 +2,5 @@ function toolbox_prompt_info() {
[[
-f
/run/.toolboxenv
]]
&&
echo
"⬢"
[[
-f
/run/.toolboxenv
]]
&&
echo
"⬢"
}
}
alias
tb
=
"toolbox enter"
alias
tbe
=
"toolbox enter"
alias
tbr
=
"toolbox run"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment