Initial Checkin
This commit is contained in:
4
.bash_aliases
Normal file
4
.bash_aliases
Normal file
@@ -0,0 +1,4 @@
|
||||
alias qs=qs.sh
|
||||
alias ql=ql.sh
|
||||
alias qg=qg.sh
|
||||
alias qcd=". qcd.sh"
|
||||
10
qg.sh
Normal file
10
qg.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
echoerr() {
|
||||
echo "$@" 1>&2;
|
||||
}
|
||||
|
||||
theLine=$(IFS='\t' grep "^${*} " < ~/.qcdrc)
|
||||
read -r quick path <<< "$theLine"
|
||||
if [[ -z $theLine ]]
|
||||
then echoerr Not found: $*
|
||||
else echo $path
|
||||
fi
|
||||
4
ql.sh
Normal file
4
ql.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
grep "${*}" ~/.qcdrc | while read theLine
|
||||
do
|
||||
echo -e ${theLine/ / -> }
|
||||
done
|
||||
Reference in New Issue
Block a user