LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-28-2007, 09:16 PM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Slackware 14.1, Archlinux
Posts: 268
Blog Entries: 10

Rep: Reputation: 32
Is it wise to switch to zsh?


So far I've been using bash like most people do. No complaints.

However, zsh seems to have some very attractive features, and I'm thinking of adopting it as default.

Questions:
  1. Is it safe to migrate to zsh? Will that place me in danger to break my system? Will all the default scripts and self-made scripts written for bash work for zsh as well? Will they need to be patched/rewritten/tweaked?
  2. Is it worth it? Is it really advantageous to migrate to zsh in the long run? Can someone share their experience in this regard?

Thanks for reading.
 
Old 12-28-2007, 09:39 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Most shell scripts that you write run in bash anyway, as you normally start with the following line:
Code:
#! /bin/bash
Therefore, you can safely change to zsh and all your shell scripts will still run in bash (assuming you leave bash installed).

You can always try it out, and change back if you don't like it.

--Ian
 
Old 12-28-2007, 10:27 PM   #3
xri
Member
 
Registered: Aug 2002
Distribution: Slackware 14.1, Archlinux
Posts: 268
Blog Entries: 10

Original Poster
Rep: Reputation: 32
Thank you, IBall. zsh seems to be fun. I'll keep trying out new options.
 
Old 12-29-2007, 08:48 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,223

Rep: Reputation: Disabled
Slackware assumes that the "sh" symlink points to bash. As long as you do not change that, your system would not break.

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How does one install Zsh lloydshanks Linux - Newbie 11 08-11-2006 09:48 PM
zsh as root? abrouwers Slackware 7 08-13-2005 03:14 PM
ZSH Highlighting chrisk5527 Linux - General 2 02-28-2004 09:23 AM
bandwidth allocation by user wise and ip wise basbosco Linux - Networking 1 11-12-2003 02:54 AM
Zsh rch Linux - General 0 05-22-2003 03:59 AM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration