All Projects → iam4x → Zsh Iterm Touchbar

iam4x / Zsh Iterm Touchbar

Licence: mit
Display feedback of terminal in the 🍏 Touchbar

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Zsh Iterm Touchbar

Zsh Apple Touchbar
Make your touchbar more powerful.
Stars: ✭ 261 (-58.7%)
Mutual labels:  zsh, iterm2, touchbar
dotfiles
My dotfiles for oh-my-zsh, vim and tmux 📟
Stars: ✭ 23 (-96.36%)
Mutual labels:  zsh, iterm2
Autocomplete
Autocomplete for terminals on MacOS
Stars: ✭ 569 (-9.97%)
Mutual labels:  zsh, iterm2
cdc
☣️ Shell plugin for zsh/bash that allows you to cd to subdirectories of user-defined directories from anywhere, without editing CDPATH.
Stars: ✭ 17 (-97.31%)
Mutual labels:  zsh, productivity
Wd
🚀 Jump to custom directories in zsh
Stars: ✭ 555 (-12.18%)
Mutual labels:  productivity, zsh
Notes
📝 Simple delightful note taking, with more unix and less lock-in.
Stars: ✭ 939 (+48.58%)
Mutual labels:  productivity, zsh
Terminal-Setup
Best Setup for your terminal for programming on macOS
Stars: ✭ 26 (-95.89%)
Mutual labels:  productivity, iterm2
Dtags
Directory Tags for Lazy Programmers
Stars: ✭ 351 (-44.46%)
Mutual labels:  productivity, zsh
Resh
Rich Enhanced Shell History - Contextual shell history for zsh and bash
Stars: ✭ 310 (-50.95%)
Mutual labels:  productivity, zsh
Thirsty
Reminds you to drink water - on your terminal.
Stars: ✭ 296 (-53.16%)
Mutual labels:  productivity, zsh
Goto
Alias and navigate to directories with tab completion in Linux
Stars: ✭ 698 (+10.44%)
Mutual labels:  productivity, zsh
Dotfiles
Zsh, Karabiner, VS Code, Sublime, Neovim, Nix
Stars: ✭ 634 (+0.32%)
Mutual labels:  productivity, zsh
Zsh You Should Use
📎 ZSH plugin that reminds you to use existing aliases for commands you just typed
Stars: ✭ 659 (+4.27%)
Mutual labels:  productivity, zsh
Ohmyzsh
🙃 A delightful community-driven (with 1900+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
Stars: ✭ 138,057 (+21744.46%)
Mutual labels:  productivity, zsh
Dotfiles
📍 My dotfiles for macOS using Fish/Zsh, Neovim, and Tmux
Stars: ✭ 151 (-76.11%)
Mutual labels:  zsh, iterm2
Mac Bootstrap
💻 Provision a new Mac for web development with dotfiles + Fish/Zsh, Neovim, and Tmux
Stars: ✭ 96 (-84.81%)
Mutual labels:  zsh, iterm2
Dotfiles
What tools and plugins I use for web development?
Stars: ✭ 73 (-88.45%)
Mutual labels:  zsh, iterm2
Pi
A minimalist zsh theme with git status decorations
Stars: ✭ 76 (-87.97%)
Mutual labels:  zsh, iterm2
Radian
🍉 Dotfiles that marry elegance and practicality.
Stars: ✭ 274 (-56.65%)
Mutual labels:  zsh, iterm2
Zsh Notify
Desktop notifications for long-running commands in zsh.
Stars: ✭ 389 (-38.45%)
Mutual labels:  zsh, iterm2

zsh iTerm Touchbar

Display feedback of terminal in the 🍏 Touchbar

preview1

preview2

Currently it shows:

  • F1 - Current directory 👉
  • F2 - Current git branch, press to display all branches and switch between them 🎋
  • F3 - Current git repo status 🔥 / 🙌
    • + — uncommitted changes in the index;
    • ! — unstaged changes;
    • ? — untracked changes;
    • $ — stashed changes;
    • — unpulled commits;
    • — unpushed commits.
  • F4 - Push to origin branch (git push origin [branch]) ✉️
  • F5 - Display npm-run or yarn-run scripts from package.json ⚡️ /🐱

Requirements

  • iTerm2 3.1.beta.3 (OS 10.10+) - Download
  • zsh shell
  • a zsh-framework like antigen or zgen
  • node (brew install node)

Into iterm2: Go into View -> Customize Tool Bar... and drag & drop the Fn module

Installing plugin

For oh-my-zsh users

Clone the repo in your plugins directory:

  • $ cd ${ZSH_CUSTOM1:-$ZSH/custom}/plugins
  • $ git clone https://github.com/iam4x/zsh-iterm-touchbar.git

Then add the plugin into your ~/.zshrc:

plugins=(... zsh-iterm-touchbar)

For antigen users

Add the following snippet ~/.zshrc after the line antigen use oh-my-zsh:

antigen theme https://github.com/iam4x/zsh-iterm-touchbar

For Zgen users

Add the following line to your ~/.zshrc where you're adding your other zsh plugins:

zgen load iam4x/zsh-iterm-touchbar

Customize

ENV variables to enable or disable git:

TOUCHBAR_GIT_ENABLED=true

ENV variables for git icons:

GIT_UNCOMMITTED="+"
GIT_UNSTAGED="!"
GIT_UNTRACKED="?"
GIT_STASHED="$"
GIT_UNPULLED="⇣"
GIT_UNPUSHED="⇡"

ENV variables to enable or disable yarn:

YARN_ENABLED=true

Read more / Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].