Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 717 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 717 Bytes

my-commands

handy commands chooser with fzf

fzf needs to be installed separately

install

Run this:

git clone https://github.com/drgomulka/my-commands.git ~/.dotfiles/my-commands
~/.dotfiles/my-commands/install_aliases.sh

what does this do

Install script adds two aliases to your aliases file:

  • my-fzf-commands
  • my-sel-commands

my-fzf-command

The idea here is to use fzf to choose a command from a prepared list of commands and to run it. All that is needed is: fzf installed, one alias and one text file with the list of commands.

my-sel-command

It uses the bash select ITEM in [LIST] construct to do the selection of your favourite commands. Select the number from the list.