✏️ Use your Bash and ZSH aliases in Pry.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
pry-vterm_aliases.gemspec

README.md

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