Permalink
Browse files

Update 10gen aliases

  • Loading branch information...
1 parent ce2b397 commit 155eeb0b2371e881f2532b89824149603f135f46 @stbrody committed Feb 8, 2012
Showing with 6 additions and 3 deletions.
  1. +5 −2 .bash_aliases
  2. +1 −1 useful/fixedSizeDir.txt
View
@@ -5,8 +5,6 @@ if [[ $(uname) == 'Linux' ]]; then
alias open='gnome-open'
fi
-alias genmongotags="find src/mongo/bson src/mongo/client src/mongo/db src/mongo/s src/mongo/shell src/mongo/tools src/mongo/util -regex \".*\\.[cChH]\\(pp\\)?\" | etags -"
-
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
@@ -28,3 +26,8 @@ alias egrep='egrep --color=auto'
alias ll='ls -l'
alias la='ls -A'
#alias l='ls -CF'
+
+# 10gen specific aliases
+#alias genmongotags="find bson client db s shell tools util -regex \".*\\.[cChH]\\(pp\\)?\" | etags -"
+alias genmongotags="ctags -e --extra=+qf --fields=+iasnfSKtm --c++-kinds=+p --recurse ."
+alias cr='python ~/10gen/scratch/tools/upload.py -y -s codereview.10gen.com -m'
View
@@ -3,7 +3,7 @@
dd bs=512 count=83968 if=/dev/zero of=/data/db/diskfulltest.img
mkfs.ext2 -m 0 -F /data/db/diskfulltest.img
mkdir /data/db/diskfulltest
-mount -o loop /data/db/diskfulltest.img /data/db/diskfulltest
+sudo mount -o loop /data/db/diskfulltest.img /data/db/diskfulltest
chmod 777 /data/db/diskfulltest
rm -rf /data/db/diskfulltest/*

0 comments on commit 155eeb0

Please sign in to comment.