24b67
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#51
|
||||
|
||||
|
I love zsh , and it is great take a look http://zsh.sourceforge.net/Doc/Relea...roduction.html
__________________
I dont mind if the girl I love , loves FreeBSD more than me. Last edited by darkshadow; June 14th, 2010 at 19:16. |
|
#52
|
||||
|
||||
|
i use zsh too, but may be i'll switch to csh for interactive shell if i'll find time to configure it as my zsh.
|
|
#53
|
||||
|
||||
|
tcsh because I'm lazy. I don't use very many features but I'm used to the completion paradigm of tcsh on freebsd, and I have no good reason to change, since it's in /bin.
I usually install zsh and pdksh (& sometimes mksh) and every once in a great while I'll change my ol' user account over to one, but I go back to tcsh after a couple of days.
__________________
Quid habemus reliquum? Nutrimentum anatum! Внимание: лифт вниз не поднимает |
|
#54
|
|||
|
|||
|
bash for me because I come from a Linux background and all the Linux distros I have tried used bash so i'm just used to it.
__________________
Running: FreeBSD 8.2-RELEASE, 9.0-BETA2 |
|
#55
|
||||
|
||||
|
I've been using mksh since seeing killasmurf recommend it in another thread.
Reasons: size, speed, absence of GNUish cruft. Ability to redirect stderr. Enhanced pattern matching in variable substitutions. Reasonable license! |
|
#56
|
|||
|
|||
|
For my main user account, I've switched from tcsh to bash on account of all the scary things I was reading about the c shells. The main one being that other shells have the ability to evaluate what a command is going to expand to without actually executing it.
But, as for root, I'll leave it as is forever. If, however, one is going to change it then for God's sake keep it as one of the ones which is shipped as a part of the base system. Having had the experience earlier today where I couldn't log in as myself because I hadn't finished the dependencies for bash I'd highly recommend against using ports for root's shell. I do however dislike the way that bash handles the history. It's always irritated me that you can't type in a few characters of the command and skip to just the commands you've entered that start with those characters. |
|
#57
|
||||
|
||||
|
I've switched to mksh from bash as well. Less clutter, better speed, and with the included mkshrc sample it can be made to look like bash with minor tweaks. And NO dependencies whatsoever!
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#58
|
||||
|
||||
|
I didn't know about that mkshrc sample, Dutch. Thanks for pointing it out. Something to play with today!
The .profile I'd been using with bash seems to be working just as well with mksh, without needing any edits. What I liked in bash is apparently just the stuff they borrowed from Korn shell, and not any of their own "innovations".
|
|
#59
|
||||
|
||||
|
Im using bash mostly, but after reading this thread I have to check out mksh
Last edited by olav; June 15th, 2010 at 21:29. |
|
#61
|
|||
|
|||
|
Quote:
|
|
#62
|
||||
|
||||
|
I used sh for root, and bash for users. In root, I always switch straight to bash for interactive use. Scripts are done in sh when I have a choice. However, I will have a look at some of the more popular options after reviewing this thread.
|
|
#63
|
||||
|
||||
|
Quote:
http://en.wikipedia.org/wiki/Compari...omputer_shells |
|
#64
|
||||
|
||||
|
Now that our beloved Bourne Shell got support for filename completion, we can all switch to it!
![]() See http://svn.freebsd.org/viewvc/base?v...evision=209221 |
|
#65
|
|||
|
|||
|
zsh for interactive use
csh as default for root account, but normally I switch over and use the zsh |
|
#66
|
|||
|
|||
|
Quote:
with broken behaviour for "sh -c 'somescript' -- foo bar baz" which mksh can emulate when compiled with a specific option, -DMKSH_MIDNIGHTBSD01ASH_COMPAT, and then when either called with “-o sh” or as sh when compiled with -DMKSH_BINSHREDUCED. I’d say ditch it. MidnightBSD is doing so, and they like mksh. |
|
#67
|
|||
|
|||
|
Quote:
Anyway, shell scripts are easy to rewrite for bash/zsh/whatever so that they're faster than on /bin/sh. You'll see real performance when you reduce external commands to minimum. |
|
#68
|
|||
|
|||
|
csh for root, zsh for user.
I've been using zsh for years ... mostly for it's completion abilities (I'm a lazy typist . Started using it well before any of the other shells featured built-in completion, and haven't bothered to change
|
|
#69
|
||||
|
||||
|
It looks like those of us who are looking for something other than bash are about evenly divided between mksh and zsh. Perhaps we need to do a head-to-head comparison between these two. What benchmarks do you suggest?
|
|
#70
|
||||
|
||||
|
Hi. I use bash but i want to use mksh but i didn't find none .mkshrc sample googling. Even on mirbsd site.
Is anyone how can post one or give me a url with a sample?
__________________
==================================== | -------> UNIX. Live Free Or Die! <-------- | ==================================== You can say: I can't do something because is difficult. You must say: I tried a lot before say that I can't. Never Give up. http://unixsystems.dyndns.org/ I am not an BSD expert. But I really want to help. Don't afraid to ask me anything. If I can I will help! Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416 |
|
#71
|
||||
|
||||
|
Ports install examples under /usr/local/share/examples/.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#72
|
||||
|
||||
|
This was the path i was searching for. I found it and i copy it on my home directory.
I set alias ls='ls -G' and i have colorised terminal ![]() But how can i colorise my hostname too? I don't understand nothing on this file
__________________
==================================== | -------> UNIX. Live Free Or Die! <-------- | ==================================== You can say: I can't do something because is difficult. You must say: I tried a lot before say that I can't. Never Give up. http://unixsystems.dyndns.org/ I am not an BSD expert. But I really want to help. Don't afraid to ask me anything. If I can I will help! Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416 |
|
#73
|
||||
|
||||
|
I've read man mksh.
As I understand, you can't colorize it (without some trick, which have side effects) At least I can post small replies |
|
#74
|
||||
|
||||
|
The default (included) .mkshrc colorizes with
ls -GNo additional settings have been made. Just tried without any .mkshrc .. still colorizes.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- Last edited by DutchDaemon; June 18th, 2010 at 17:11. |
|
#75
|
||||
|
||||
|
Quote:
No. Without any .mkshrc on my home directory all colours are white ![]() Also without any .mkshrc is not giving me hostname before $ I open mksh from bash. This is possible to make the difference?
__________________
==================================== | -------> UNIX. Live Free Or Die! <-------- | ==================================== You can say: I can't do something because is difficult. You must say: I tried a lot before say that I can't. Never Give up. http://unixsystems.dyndns.org/ I am not an BSD expert. But I really want to help. Don't afraid to ask me anything. If I can I will help! Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416 |
![]() |
| Tags |
| shell |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Support Adobe Flash (shell script) | soko1 | Howtos & FAQs (Moderated) | 9 | September 11th, 2012 15:50 |