Skip to content

ryotako/fish-expand-range

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Slack

fish-expand-range

You can expand {1..9} in in fish shell!

demo

Install

With fisherman

fisher ryotako/fish-expand-range

# If you agree with key bindings to \n and \r, use this branch
fisher ryotako/fish-expand-range:keybindings

Usage

This plugin provides a function __expand_brace to replace {1..3} into {1,2,3} in a command line. You can make key binds with this function as below.

# Expand and execute.
# These key binds are already defined in the keybindings branch 
bind \n 'type -q __expand_range; and __expand_range; commandline -f execute'
bind \r 'type -q __expand_range; and __expand_range; commandline -f execute'

# Expand only
bind \cx __expand_range

About

brace expansion with range in fish shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages