aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/helpers.sh19
1 files changed, 4 insertions, 15 deletions
diff --git a/scripts/helpers.sh b/scripts/helpers.sh
index 174305f..3b2d335 100644
--- a/scripts/helpers.sh
+++ b/scripts/helpers.sh
@@ -3,14 +3,6 @@
# This is a set of helper bash functions that are too small for their own file,
# but useful enough to be worth `source`ing in your bashrc.
-# Reports how many physical games you own
-function vgphys() {
- # Note: This assumes the system has an asterisk, "VC", or "Steam" in its name
- # Change this to reflect how you differentiate physical and digital games.
- # TODO: Add 'digital' ownership option to obsolete the regex
- vgstash list owned | cut -d '|' -f 1-3,5 | grep -viE '\*| VC|Steam' | wc -l
-}
-
# Faster general searching
function vgsrc() {
case $# in
@@ -21,7 +13,10 @@ function vgsrc() {
vgstash list "$1" | grep -iE "$2"
;;
*)
- echo "Dumbass, search for something."
+ echo "usage: vgsrc [game name]"
+ echo " or vgsrc [view name] [game name]"
+ echo
+ echo "Ex: vgsrc physical Borderlands"
;;
esac
}
@@ -30,9 +25,3 @@ function vgsrc() {
function vgadd() {
vgstash add "$@"
}
-
-# Quick way to update a game
-# TODO: Put this in a better place
-function vgup() {
- "$HOME"/projects/vgstash/scripts/updater.sh "$@"
-}