WikiText-Kwiki

 view release on metacpan or  search on metacpan

kwiki/database/BashRCFile  view on Meta::CPAN


    alias realias='chmod u+w ~/.aliases; $EDITOR ~/.aliases; source ~/.aliases; chmod -w ~/.aliases'

From the command line, type realias to open your favorite editor on your aliases file, add a new alias, and reload your aliases all from the same terminal.  Don't waste any more time closing terminals and opening them again to get your latest aliases...

Now put everything that annoys you in your alias file.  Some good ones are:

    alias testcover='cover -delete; ./Build testcover; cover'
    alias newsvn='cd ~/dev/repos; svnadmin create --fs-type fsfs'
    alias um="uptime && free -m"
    alias makepugs='PARROT_PATH="/home/chromatic/dev/parrot" PUGS_EMBED="perl5 parrot" perl Makefile.PL'
    alias spp='svk pull; svk push'
    alias stunnel='ssh snafu -L2500:snafu:25'

----
AdamMonsen

    # only do the following during an interactive prompt
    if [ "$PS1" ]
    then
      alias egrep='egrep --color=auto'



( run in 0.647 second using v1.01-cache-2.11-cpan-2c0d6866c4f )