Fancy start screen for zsh w/ tmux integration and more!
Project description
zsh-startify
You can also use it in a more minimal configuration, like this:
This is a fancy start screen for zsh. After starting a terminal session, it will:
- Start a
tmuxserver if it's not already running - Allow you to easily attach to any
tmuxsessions - Allow you to easily create new tmux sessions
- Allow you to quickly launch a
zshsession, byCtrl-C'ing orCtrl-D'ing out of the prompt.
Installation
The recommended installation method is through PyPi:
$ pip3 install zsh-startify
$ echo "zsh-startify" >> ~/.zshrc
But, if you'd like to install it manually:
$ git clone git@github.com:alichtman/zsh-startify.git && cd zsh-startify
$ python3 setup.py install
$ echo "zsh-startify" >> ~/.zshrc
Note: This tool depends on Python 3.6+. You can check what version you have with:
$ python3 --version
Python 3.7.4
Configuration
This tool comes with sensible defaults. No configuration is necessary, however, the following settings may be changed in your ~/.zshrc file:
- ZSH_STARTIFY_HEADER_FONT
- This is the Figlet font that the header text will be printed in.
- Default:
univers. Accepts any Figlet font.
- ZSH_STARTIFY_HEADER_TEXT
- This string will be printed as the header.
- Default:
zsh. Accepts any string.
- ZSH_STARTIFY_NO_SPLASH
- Set this environment variable to not print the splash screen.
- Default: Not set. If set to anything, the splash screen will not be printed.
- ZSH_STARTIFY_NON_INTERACTIVE
- Set this environment variable to not display the action picking menu.
- Default: Not set. If set to anything, the interactive menu will not be displayed.
An example of this could be:
export ZSH_STARTIFY_HEADER_TEXT="custom-header"
export ZSH_STARTIFY_HEADER_FONT="slant"
My configuration is:
export ZSH_STARTIFY_NO_SPLASH=true
export ZSH_STARTIFY_NON_INTERACTIVE=true
tmuxIntegration
This works best when used with these two tmux plugins:
Inspiration
I've used vim-startify a lot. I figured it was time for zsh and tmux to have a similar tool.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zsh_startify-0.3.0-py3.7.egg.
File metadata
- Download URL: zsh_startify-0.3.0-py3.7.egg
- Upload date:
- Size: 9.4 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c88157f2a257a7e24c1a14901d644d972af6992ac3e40831a4abbb91b8c27332
|
|
| MD5 |
aaeab292cdfba375981df275ba920088
|
|
| BLAKE2b-256 |
e396d4830894fc19af0f0a1304caffb3261401e855d706875d6cf06064676824
|
File details
Details for the file zsh_startify-0.3.0-py3-none-any.whl.
File metadata
- Download URL: zsh_startify-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2ec1b6435024b1f48426c3315aca254fc58b6004691ea1cfe7ea64595f3204a
|
|
| MD5 |
c95e7fdea2f1174d2c7832882804e5e2
|
|
| BLAKE2b-256 |
d60f60bb312d50f3a4c7f844dab7df9faa4d65fdfb18362bbe1ab5de40601266
|