You are not logged in.

#1 2011-03-03 00:19:50

cs_student
Member
From: Richmond, Virginia
Registered: 2010-04-22
Posts: 21

Efficiency & Productivity

I'm a freshman college student.  While balancing school, work, and what I call a social life, I like to try and make the most of my time on the computer. 
I have recently become aware of a couple things such as irssi scripts and bash functions.  These have increased my productivity immensely.

You can see my .bashrc at http://757.org/~poseidon/dotfiles/.bashrc

Right now I use xmonad as a window manager as it helps me with being more efficient, especially since I do most things from the cli.

So what I was wondering is if there are any other suggestions you guys can make for being more efficient.

Last edited by cs_student (2011-03-03 00:20:22)

Offline

#2 2011-03-03 00:44:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Efficiency & Productivity

alias ......="cd ../../../../.."

Good luck with that one. 'alias 5.' seems more reasonable. Just because somebody thinks it's a good idea doesn't mean you have to use it :-)

I script whatever I'm doing multiple times e.g. downloading, extracting, renaming etc.

Last edited by karol (2011-03-03 00:45:46)

Offline

#3 2011-03-03 00:48:04

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: Efficiency & Productivity

or

up () {
        local arg=${1:-1}
        while [ ${arg} -gt 0 ]
        do
                cd .. >&/dev/null
                arg=$((${arg} - 1)) 
        done
}

e.g. # up 5

also, i think there's a productivity contrib in xmonad that changes your keybindings so you're not allowed to change focus or anything while you're working, if i can remember correctly.

Last edited by milomouse (2011-03-03 00:59:24)

Offline

#4 2011-03-03 15:19:35

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Efficiency & Productivity

Not a support request per se.

Moving to GNU/Linux Discussion...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2011-03-03 16:20:12

jnguyen
Member
Registered: 2011-02-17
Posts: 139
Website

Re: Efficiency & Productivity

milomouse wrote:
up () {
        local arg=${1:-1}
        while [ ${arg} -gt 0 ]
        do
                cd .. >&/dev/null
                arg=$((${arg} - 1)) 
        done
}

e.g. # up 5

Or you could do it in half as many lines:

up () {
  for i in $(seq ${1:-1}); do
    cd ../
  done
}

TOMOYO Linux: Mandatory Access Control.
My AUR packages

Offline

Board footer

Powered by FluxBB