Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adjusting svn aliases a bit

  • Loading branch information...
commit d961a3316e4dd2d1ff5ddd7bbd86ffd3b346244e 1 parent 6fcc443
@brianarn authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 bashrc
View
6 bashrc
@@ -66,7 +66,6 @@ alias more='less'
alias vi='vim'
alias wpdb='mysqldump --add-drop-table -c -u rtnet_wp -h db-wp.randomthink.net -p rtnet_wp > wp_db_`date +%Y%m%d_%H%M%S`.sql'
alias free='free -m'
-alias ss='svn status --ignore-externals'
alias serve='python -m SimpleHTTPServer 4000'
# enable programmable completion features (you don't need to enable
@@ -75,3 +74,8 @@ alias serve='python -m SimpleHTTPServer 4000'
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
+
+# Some convenient subversion aliases
+alias ss='svn status --ignore-externals'
+alias sadd='ss | grep ? | awk '\''{print $2}'\'' | xargs svn add'
+alias srm='ss | grep ! | awk '\''{print $2}'\'' | xargs svn rm'
Please sign in to comment.
Something went wrong with that request. Please try again.