BashRC: Added an AWS development helper.

Signed-off-by: Hermann Mayer's avatarHermann Mayer <hermann.mayer92@gmail.com>
parent 62cfa782
......@@ -21,8 +21,9 @@ bashrcComponent['helper/commons']=1
bashrcComponent['helper/development/commons']=1
bashrcComponent['helper/development/watch']=1
bashrcComponent['helper/development/docker']=1
bashrcComponent['helper/development/aws']=1
bashrcComponent['helper/development/git']=1
bashrcComponent['helper/development/svn']=1
bashrcComponent['helper/development/svn']=0
bashrcComponent['helper/archives']=1
bashrcComponent['helper/features']=1
bashrcComponent['helper/distro/slackware']=0
......
......@@ -57,7 +57,8 @@ function extract()
function extractRar()
{
ls *.part01.rar *.part001.rar *.part0001.rar 2>/dev/null | while read FILE; do
ls *.part01.rar *.part001.rar *.part0001.rar 2>/dev/null \
| while read FILE; do
unrar e "$FILE";
done;
}
......@@ -9,7 +9,8 @@
function psgrep()
{
ps ax -o pid,ruser,command | egrep -i --color=always "$1" | grep -v "grep"
ps ax -o pid,ruser,command \
| egrep -i --color=always "$1" | grep -v "grep"
}
function mkcd()
......
#!/bin/bash
#
# @author Hermann Mayer <hermann.mayer92@gmail.com>
# @name development.sh
# +-------------------------------------------------
# | Development/AWS Helper
# +-------------------------------------------------
function awslogs-all()
{
awslogs get $@ ALL -w -G -S
}
function awslogs-list()
{
awslogs groups
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment