comparison .bashrc @ 648:c6d3bfb2a21c

shortcut for ubuntu
author Jeff Hammel <k0scist@gmail.com>
date Sat, 15 Mar 2014 16:44:31 -0700
parents a5cd31e0b8e7
children fbfc02ea7d8e
comparison
equal deleted inserted replaced
647:8147f25af5f7 648:c6d3bfb2a21c
539 echo "$HOME/web/blog/k0s/entries/public/$1" 539 echo "$HOME/web/blog/k0s/entries/public/$1"
540 } 540 }
541 541
542 ### 542 ###
543 543
544 apt-upgrade() {
545 sudo apt-get -y update
546 sudo apt-get -y upgrade
547 }
548
544 flatten() { 549 flatten() {
545 directory=$PWD 550 directory=$PWD
546 if [ "$#" == "1" ] 551 if [ "$#" == "1" ]
547 then 552 then
548 directory=$1 553 directory=$1