The title says it all. On your computer what shell do you use for interactive use, scripting, etc?
What shell do you use?
Started by Aereshaa, Jul 27 2008 08:21 PM
7 replies to this topic
#1
Posted 27 July 2008 - 08:21 PM
|
|
|
#2
Posted 27 July 2008 - 08:48 PM
Nice idea of a poll.
I voted bash.
I voted bash.
#3
Posted 27 July 2008 - 09:28 PM
Can you beat my l33t prompt?

Made with the power of zsh!

Made with the power of zsh!
PR_TIMER="0"
PR_PWD="/etc"
function precmd { #executes each prompt
local TERMWIDTH
((TERMWIDTH = ${COLUMNS} - 1))
local PRWIDTH
((PRWIDTH = `whoami | wc -m` + `tty | wc -m` + `pwd | wc -m` + `date | wc -m` + 16))
local DSHES
((DSHES = TERMWIDTH - PRWIDTH))
local L_PWD
L_PWD=$(/home/oren/bin/strhash `pwd`);
if ((`/home/oren/bin/utm` > PR_TIMER + 30 || L_PWD != PR_PWD)) then
echo -e "/==(\e[37m$(whoami)\e[0m)on(\e[37m$(tty)\e[0m)in(\e[35m$(pwd)\e[0m)>$(/home/oren/bin/repstr "$DSHES" "-")<(\e[31m$(date)\e[0m)==\\"
PR_TIMER=`/home/oren/bin/utm`
PR_PWD=$(/home/oren/bin/strhash `pwd`);
fi
}
PS1="|==%% "
RPS1="<<(%*)==|"
PS2="|--> "
PS3="|--- "
PS4="|--- "
:cool:
#4
Posted 27 July 2008 - 11:21 PM
I sure can. My .bashrc:
PS1="$ "It all depends on who you are. I prefer it simple, and that's why I don't have all the fancy stuff in my config.
#5
Guest_Jordan_*
Posted 28 July 2008 - 04:12 AM
Guest_Jordan_*
I use bash I also like small prompts so that the line doesn't loop when I'm in deep sub-directories. I use about the same as v0id. How come you use zsh? I suppose I use bash because that is what I started with and that is default now.
#6
Posted 28 July 2008 - 05:04 AM
That's the same reason why I use bash. According to Wikipedia is zsh a collection of the most useful features of bash, ksh and tcsh, so might be worthy a try?
A bit off-topic: Does anyone know how to configure/customize the real terminal, and not just a terminal emulator (like bash, zsh, etc.)? I've got a new box which I installed Debian on. To keep it fast and clean I've chosen not to use a the X window system. I can however not really change the look of the terminal, so when I get into deep directories the line always break, because of the lenghty prompt. It sucks. Any tips?
A bit off-topic: Does anyone know how to configure/customize the real terminal, and not just a terminal emulator (like bash, zsh, etc.)? I've got a new box which I installed Debian on. To keep it fast and clean I've chosen not to use a the X window system. I can however not really change the look of the terminal, so when I get into deep directories the line always break, because of the lenghty prompt. It sucks. Any tips?
#7
Guest_Jordan_*
Posted 28 July 2008 - 05:17 AM
Guest_Jordan_*
I may give it a try then, it does sound interesting. I have no idea about your question though.
#8
Posted 28 July 2008 - 09:29 AM
Jordan said:
I use bash I also like small prompts so that the line doesn't loop when I'm in deep sub-directories. I use about the same as v0id. How come you use zsh? I suppose I use bash because that is what I started with and that is default now.
I use zsh because my first computer had all of them installed, even rc (from plan 9). So I tested each of them, and found that I liked zsh's syntax best.


Sign In
Create Account


Back to top









