Skip to content

nueks/zm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zm

this code is from

Install

add this code to the top of your .zshrc file

ZM_HOME=${HOME}/.local/share/zm
source ${ZM_HOME}/zm.zsh 2> /dev/null || {
    mkdir -p $(dirname $ZM_HOME)
    git clone https://github.com/nueks/zm $ZM_HOME
    source ${ZM_HOME}/zm.zsh
}
zm.load romkatv/zsh-defer

test command

$ docker run -it --rm --name zm \
  -v $(pwd)/sample/zshrc:/root/.zshrc \
  zm.env

or

$ docker run -it --rm --name zm \
  -v $(pwd)/sample/zshrc:/root/.zshrc \
  -v $(pwd):/root/.local/share/zm \
  zm.env

or

$ docker run -d --rm --name zm --init \
  -v $(pwd)/sample/zshrc:/root/.zshrc \
  zm.env -c "sleep inf"
$ docker exec -it -w /root zm zsh

loading time

$ for i in $(seq 1 10); do time zsh -i -c exit; done
$ zm bench

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages