Skip to content

envygeeks/pry-vterm_aliases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pry-Vterm_Aliases

Build Status Coverage Status Code Climate Dependency Status

Enable your ZSH and Bash aliases inside of Pry.

Examples:

> .ll
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name1
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name2
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name3
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name4
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name5



> .ll |grep 4
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name4



> capture = capture_vterm_alias(".ll")
> out.puts capture
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name1
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name2
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name3
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name4
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name5



> capture = capture_vterm_alias(".ll", "|grep 4")
> out.puts capture
-rw-r-r-- 1 jordon jordon 2197 Dec 17 03:30 file_name4