diff options
author | 2024-03-25 16:43:09 +0530 | |
---|---|---|
committer | 2024-03-25 16:43:09 +0530 | |
commit | a62114c91f2070c8c8453d117f3d81dc113e41ff (patch) | |
tree | f266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/zsh-navigation-tools/doc/generate_single_file | |
parent | af120ab348f2e1a5a39dec035ed9dcf84189a64e (diff) | |
download | dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2 dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip |
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/zsh-navigation-tools/doc/generate_single_file')
-rwxr-xr-x | zsh/oh-my-zsh/plugins/zsh-navigation-tools/doc/generate_single_file | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/zsh/oh-my-zsh/plugins/zsh-navigation-tools/doc/generate_single_file b/zsh/oh-my-zsh/plugins/zsh-navigation-tools/doc/generate_single_file deleted file mode 100755 index d3d3938..0000000 --- a/zsh/oh-my-zsh/plugins/zsh-navigation-tools/doc/generate_single_file +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/zsh - -local PLUGIN_FILE="doc/zshnavigationtools.plugin.zsh" - -[ -d doc ] || cd .. - -rm -vf "$PLUGIN_FILE" -echo "# The preamble comments apply when using ZNT as autoload functions" >>"$PLUGIN_FILE" -echo "# https://github.com/psprint/zsh-navigation-tools" >>"$PLUGIN_FILE" -echo "# License is GPLv3 and MIT" >>"$PLUGIN_FILE" -echo -n "# " >>"$PLUGIN_FILE" -git show-ref master | head -1 >>"$PLUGIN_FILE" -echo >>"$PLUGIN_FILE" - -for i in n-*(on); do - echo "$i() {" >>"$PLUGIN_FILE" - cat "$i" >>"$PLUGIN_FILE" - echo "}" >>"$PLUGIN_FILE" - echo "alias n${i#n-}=$i" >>"$PLUGIN_FILE" - echo >>"$PLUGIN_FILE" -done - -# Append znt-* files -for i in znt-*(on); do - echo "$i() {" >>"$PLUGIN_FILE" - cat "$i" >>"$PLUGIN_FILE" - echo "}" >>"$PLUGIN_FILE" - echo >>"$PLUGIN_FILE" -done - -# Append ^R bind -echo "zle -N znt-history-widget" >>"$PLUGIN_FILE" -echo "bindkey '^R' znt-history-widget" >>"$PLUGIN_FILE" -echo "setopt AUTO_PUSHD HIST_IGNORE_DUPS PUSHD_IGNORE_DUPS" >>"$PLUGIN_FILE" - |