diff options
Diffstat (limited to 'Functions')
| -rw-r--r-- | Functions/Zle/incarg | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Functions/Zle/incarg b/Functions/Zle/incarg new file mode 100644 index 000000000..c4b05d01f --- /dev/null +++ b/Functions/Zle/incarg @@ -0,0 +1,43 @@ +# Shell function to increment an integer either under the cursor or just +# to the left of it. Use +# autoload -U incarg +# zle -N incarg +# bindkey "..." incarg +# to define it. For example, +# echo 41 +# ^^^ cursor anywhere here |
