You are not logged in.
Pages: 1
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
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
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
Not a support request per se.
Moving to GNU/Linux Discussion...
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
Pages: 1