Skip to content

Commit

Permalink
Changing the various *.rb references in wdaliases back to *.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
David Crosby committed Nov 8, 2009
1 parent f91c86c commit eb3f889
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions wd/wdaliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,44 @@ if [ -z "$wdscheme" ]; then
fi

# Change to the default stored directory (position 0)
alias wd="cd \"\`$WDHOME/cdretr.rb 0\`\""
alias wd="cd \"\`$WDHOME/cdretr.pl 0\`\""
alias wd0='wd'

# wd1-wd9 change into their respective stored directories
alias wd1="cd \"\`$WDHOME/cdretr.rb 1\`\""
alias wd2="cd \"\`$WDHOME/cdretr.rb 2\`\""
alias wd3="cd \"\`$WDHOME/cdretr.rb 3\`\""
alias wd4="cd \"\`$WDHOME/cdretr.rb 4\`\""
alias wd5="cd \"\`$WDHOME/cdretr.rb 5\`\""
alias wd6="cd \"\`$WDHOME/cdretr.rb 6\`\""
alias wd7="cd \"\`$WDHOME/cdretr.rb 7\`\""
alias wd8="cd \"\`$WDHOME/cdretr.rb 8\`\""
alias wd9="cd \"\`$WDHOME/cdretr.rb 9\`\""
alias wd1="cd \"\`$WDHOME/cdretr.pl 1\`\""
alias wd2="cd \"\`$WDHOME/cdretr.pl 2\`\""
alias wd3="cd \"\`$WDHOME/cdretr.pl 3\`\""
alias wd4="cd \"\`$WDHOME/cdretr.pl 4\`\""
alias wd5="cd \"\`$WDHOME/cdretr.pl 5\`\""
alias wd6="cd \"\`$WDHOME/cdretr.pl 6\`\""
alias wd7="cd \"\`$WDHOME/cdretr.pl 7\`\""
alias wd8="cd \"\`$WDHOME/cdretr.pl 8\`\""
alias wd9="cd \"\`$WDHOME/cdretr.pl 9\`\""

# Store the current directory into the default position
alias wds='$WDHOME/cdstore.rb 0'
alias wds='$WDHOME/cdstore.pl 0'
alias wds0='wds'

# wds1-wds9 store the current directory the respective position (1-9)
alias wds1='$WDHOME/cdstore.rb 1'
alias wds2='$WDHOME/cdstore.rb 2'
alias wds3='$WDHOME/cdstore.rb 3'
alias wds4='$WDHOME/cdstore.rb 4'
alias wds5='$WDHOME/cdstore.rb 5'
alias wds6='$WDHOME/cdstore.rb 6'
alias wds7='$WDHOME/cdstore.rb 7'
alias wds8='$WDHOME/cdstore.rb 8'
alias wds9='$WDHOME/cdstore.rb 9'
alias wds1='$WDHOME/cdstore.pl 1'
alias wds2='$WDHOME/cdstore.pl 2'
alias wds3='$WDHOME/cdstore.pl 3'
alias wds4='$WDHOME/cdstore.pl 4'
alias wds5='$WDHOME/cdstore.pl 5'
alias wds6='$WDHOME/cdstore.pl 6'
alias wds7='$WDHOME/cdstore.pl 7'
alias wds8='$WDHOME/cdstore.pl 8'
alias wds9='$WDHOME/cdstore.pl 9'

# wdl lists all 10 stored directories for the current scheme.
alias wdl='$WDHOME/wdlist.rb'
alias wdl='$WDHOME/wdlist.pl'

# wdc clears the stored list of directories
alias wdc=">\"\`$WDHOME/wdscheme.rb\`\""
alias wdc=">\"\`$WDHOME/wdscheme.pl\`\""

# changes schemes: wdscheme <scheme>
alias wdscheme='. $WDHOME/wdscheme.sh'

# dumps working dirs to environment vars
alias wdenv="$WDHOME/wdenv.rb > $WDHOME/wdenv && . $WDHOME/wdenv"
alias wdenv="$WDHOME/wdenv.pl > $WDHOME/wdenv && . $WDHOME/wdenv"

0 comments on commit eb3f889

Please sign in to comment.