https://github.com/chrisgrieser/zsh-magic-dashboard
Pressing "enter" on an empty buffer displays an information-rich and pretty dashboard.
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: researchgate.net -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Keywords
Repository
Pressing "enter" on an empty buffer displays an information-rich and pretty dashboard.
Basic Info
Statistics
- Stars: 57
- Watchers: 2
- Forks: 5
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
zsh-magic-dashboard
Pressing enter on an empty buffer displays an information-rich and pretty
dashboard.
<!-- LTeX: enabled=true -->
- Top: Recent commits (
git log) - Center: Current Status (hybrid of
git statusandgit diff --stat) - Bottom: Files in the current directory (via
eza)
Empty components, such as git status in a clean repo, are automatically
hidden.
Table of contents
Installation
Requirements
Manual
Clone this repository somewhere on your machine. This manual assumes
you are using ~/.zsh/.
bash
cd ~/.zsh # where to install the plugin
git clone https://github.com/chrisgrieser/zsh-magic-dashboard
Add the following to your ~/.zshrc:
bash
source ~/.zsh/zsh-magic-dashboard/magic_dashboard.zsh
Package managers
I don't use a package manager, since they are mostly unnecessary and even increasing zsh loading time considerably.
Thus, this section only includes installation instructions from people who made a PR adding them.
oh-my-zsh
Clone this repository into $ZSH_CUSTOM/plugins (by default
~/.oh-my-zsh/custom/plugins)
bash
git clone https://github.com/chrisgrieser/zsh-magic-dashboard ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-magic-dashboard
Add the plugin to the list of plugins for oh-my-zsh to load (inside ~/.zshrc):
bash
plugins=(
# other plugins...
zsh-magic-dashboard
)
Start a new terminal session.
bash
source ~/.zshrc
Configuration
Export these variables in your ~/.zshrc. The values displayed are the defaults.
```bash export MAGICDASHBOARDGITLOGLINES=5 export MAGICDASHBOARDFILESLINES=6 export MAGICDASHBOARDFILES_LINES=4
export MAGICDASHBOARDDISABLEDBELOWTERM_HEIGHT=15 ```
Usage
Just press enter on an empty buffer. That's it!
Display dashboard on cd
The dashboard call also be called via _magic_dashboard. One use case would be
to modify your cd command to display the dashboard after the directory change.
bash
function cd {
builtin cd "$@" && _magic_dashboard
}
Credits
This plugin is based on Magic Enter by @dufferzafar.
In my day job, I am a sociologist studying the social mechanisms underlying the digital economy. For my PhD project, I investigate the governance of the app economy and how software ecosystems manage the tension between innovation and compatibility. If you are interested in this subject, feel free to get in touch.
Owner
- Name: Chris Grieser
- Login: chrisgrieser
- Kind: user
- Location: Berlin, Germany
- Company: Technical University of Berlin
- Website: https://chris-grieser.de/
- Repositories: 189
- Profile: https://github.com/chrisgrieser
Researcher in sociology & software developer
GitHub Events
Total
- Watch event: 7
- Delete event: 3
- Issue comment event: 1
- Push event: 15
- Pull request event: 10
- Fork event: 1
- Create event: 2
Last Year
- Watch event: 7
- Delete event: 3
- Issue comment event: 1
- Push event: 15
- Pull request event: 10
- Fork event: 1
- Create event: 2
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 3
- Total pull requests: 4
- Average time to close issues: about 4 hours
- Average time to close pull requests: 26 minutes
- Total issue authors: 2
- Total pull request authors: 3
- Average comments per issue: 1.33
- Average comments per pull request: 0.75
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 4
- Average time to close issues: about 4 hours
- Average time to close pull requests: 26 minutes
- Issue authors: 2
- Pull request authors: 3
- Average comments per issue: 1.33
- Average comments per pull request: 0.75
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- adriangalilea (2)
Pull Request Authors
- dependabot[bot] (4)
- mikepadiernos (2)
- adriangalilea (2)
- DEATHB4DEFEAT (2)
- Muizzyranking (1)