Unix and Linux Discussions Tagged with zsh |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
15,210 |
OS X (Apple) |
|
|
|
6 |
4,071 |
Shell Programming and Scripting |
|
|
|
0 |
1,599 |
Shell Programming and Scripting |
|
|
|
51 |
57,186 |
Shell Programming and Scripting |
|
|
|
4 |
4,363 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,503 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,284 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,094 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
3,445 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,659 |
Shell Programming and Scripting |
|
|
|
2 |
3,500 |
Programming |
|
|
|
1 |
20,459 |
Shell Programming and Scripting |
|
|
|
0 |
8,931 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,143 |
Software Releases - RSS News |
|
|
|
0 |
994 |
Software Releases - RSS News |
|
|
|
0 |
4,548 |
Shell Programming and Scripting |
|
|
|
2 |
9,327 |
Shell Programming and Scripting |
|
|
|
0 |
1,257 |
Software Releases - RSS News |
|
|
|
0 |
1,177 |
Software Releases - RSS News |
|
|
|
3 |
2,950 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,706 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,765 |
UNIX for Dummies Questions & Answers |
SURFRAW-UPDATE-PATH(1) User Contributed Perl Documentation SURFRAW-UPDATE-PATH(1)
NAME
surfraw-update-path - updates PATH in shell config files
SYNOPSIS
surfraw-update-path [-add] [-remove] [-check] [-sys] [-all] [-help] [-shell=SHELL]
DESCRIPTION
surfraw-update-path adds the surfraw elvi directory (/usr/lib/surfraw) to your PATH in your shell's config file.
Currently it supports bash, sh, csh, tcsh, ash, dash, ksh, pdksh, zsh, rc, and es
Don't forget to login again or source your login files for it to take effect.
OPTIONS
-check
Checks to see if the surfraw config code is present. This is the default.
-add
Adds the surfraw config code.
-remove
Removes the surfraw config code
-sys
Updates the system-wide shell config instead of the user. Must be done as root.
-shell=SHELL
Selects the shell to configure. Defaults to the value of the $SHELL environment variable.
Currently supported shells are:
sh, ash, bash, dash, csh, tcsh, ksh, pdksh, zsh, rc, and es.
-all
Attempts to configure the startup files for all known shells
-help
Gives a usage message
RETURN VALUE
-check returns 0 if the surfraw code is present in the file, 1 if it is not found, or 2 on error.
All other options return 0 on success, or 2 on error.
ENVIRONMENT
SHELL
Used to determine which shell to configure, if -shell is not given.
HOME
Used to find users config files.
ENV Used by posix-compliant shells to specify a startup rc file.
ZDOTDIR
Used to find user config files for zsh. If not set, defaults to HOME.
SEE ALSO
surfraw(1), sh(1), ash(1), bash(1), dash(1), csh(1), tcsh(1), ksh(1), pdksh(1), zsh(1), rc(1), es(1)
AUTHOR
Ian Beckwith <ianb@erislabs.net>
perl v5.12.4 2011-07-12 SURFRAW-UPDATE-PATH(1)