diff --git a/README.md b/README.md index 89fc524..8afd93d 100644 --- a/README.md +++ b/README.md @@ -171,9 +171,9 @@ $ (paths) | cd ``` - - - + + + piping ## Options @@ -208,7 +208,13 @@ desc | a description for the option func | a command which returns directory list (e.g. `ghq list --full-path`) condition | a command which determine that the option should be implemented or not (e.g. `which ghq`) - + + + + + + options + enhancd loads these `config.ltsv` files located in: diff --git a/docs/options.tape b/docs/options.tape new file mode 100644 index 0000000..c4e8ac6 --- /dev/null +++ b/docs/options.tape @@ -0,0 +1,53 @@ +Output options.gif + +Set Theme "TokyoNight" +Set Theme "TokyoNightLight" + +Set FontSize 40 +Set Width 1800 +Set Height 800 + +Set Shell zsh + +Hide +Type `export PROMPT="%F{blue}%c%f %# "` Enter +Type "source $PWD/init.sh" Enter +Type "export ENHANCD_FILTER=fzy:fzf:peco:zf:sk" Enter +Type "export ENHANCD_DIR=$PWD/docs" Enter +Type "alias vim='nvim -u NONE'" Enter +Type "cd ~" Enter +Ctrl+L +Show + +Set PlaybackSpeed 0.2 + +Sleep 1s +Type "cd --help" Sleep 1s Enter +Sleep 1s + +Sleep 1s +Type "# You can add new option as you like by editing config file!" Sleep 1s Ctrl+C +Enter Enter +Type "vim ~/.config/enhancd/config.ltsv" Sleep 1s Enter +Type "i" +Type `short:-G long:--ghq desc:Show ghq list func:ghq list --full-path condition:which ghq` Sleep 1s +Escape +Type@300ms ":wq" Sleep 1s Enter + +Sleep 1s +Enter Enter +Type "cd --help" Sleep 1s Enter +Sleep 1s + +Type "# ghq option has been added! Let's try it out" Sleep 1s Ctrl+C +Enter Enter +Sleep 1s +Type "cd --ghq" Sleep 1s Enter +Sleep 1s +Type "enhancd" Sleep 1s Enter + +# end +Enter Enter Enter +Sleep 500ms +Type "END." +Sleep 2 diff --git a/docs/piping.tape b/docs/piping.tape index 57fe626..d8e8307 100644 --- a/docs/piping.tape +++ b/docs/piping.tape @@ -1,16 +1,11 @@ -Output inputs.gif - -# Dark theme -#Set Theme { "name": "Whimsy", "black": "#535178", "red": "#ef6487", "green": "#5eca89", "yellow": "#fdd877", "blue": "#65aef7", "magenta": "#aa7ff0", "cyan": "#43c1be", "white": "#ffffff", "brightBlack": "#535178", "brightRed": "#ef6487", "brightGreen": "#5eca89", "brightYellow": "#fdd877", "brightBlue": "#65aef7", "brightMagenta": "#aa7ff0", "brightCyan": "#43c1be", "brightWhite": "#ffffff", "background": "#29283b", "foreground": "#b3b0d6", "selection": "#3d3c58", "cursor": "#b3b0d6" } - -# Light theme -#Set Theme { "name": "Spring", "black": "#000000", "red": "#ff4d83", "green": "#1f8c3b", "yellow": "#1fc95b", "blue": "#1dd3ee", "magenta": "#8959a8", "cyan": "#3e999f", "white": "#ffffff", "brightBlack": "#000000", "brightRed": "#ff0021", "brightGreen": "#1fc231", "brightYellow": "#d5b807", "brightBlue": "#15a9fd", "brightMagenta": "#8959a8", "brightCyan": "#3e999f", "brightWhite": "#ffffff", "background": "#ffffff", "foreground": "#4d4d4c", "cursor": "#f8aba6" } +Output piping.gif Set Theme "TokyoNight" +Set Theme "TokyoNightLight" -Set FontSize 45 +Set FontSize 40 Set Width 1800 -Set Height 1000 +Set Height 800 Set Shell zsh @@ -35,6 +30,7 @@ Up@200ms 2 Sleep 1s Type "dot" Sleep 1s Enter # Second +Enter Enter Sleep 1s Type "echo ~/src/github.com/b4b4r07/enhancd | cd" Sleep 1s Enter Sleep 1s