summaryrefslogtreecommitdiff
path: root/etc/ksh.kshrc
AgeCommit message (Collapse)Author
2018-05-16Remove default ls -C alias.Marco Pfatschbacher
OK millert@, kn@, ian@, sthen@
2018-02-18zap *_path() functionskn
These PATH helpers failed to quote their input properly leading to shell code execution. Noone noticed since import (over 21 years ago), so wipe it. OK tb rpe
2017-11-05Remove the ':' at the beginning of ksh.kshrc.Robert Peichaer
prodded by Raf Czlonka OK tb@
2017-11-02Replace ps | grep with pgrep and use && instead of if-then-fi.Theo Buehler
From Raf Czlonka. ok halex
2017-07-15Replace some `eval` with $(eval) for consistency and useTheo Buehler
parameter expansion instead of basename(1). From Raf Czlonka ok rpe
2016-09-14Do the same with less code.Robert Peichaer
OK halex
2016-09-10Unbreak ksh.kshrc by using a MI way of finding out the console device name.Robert Peichaer
Found by landry OK deraadt
2016-09-10Simplify setting the USER and UID variables.Robert Peichaer
While here, convert `` to $(). OK halex
2016-09-10Remove remnants of rlogin, it's long gone (2002).Robert Peichaer
OK halex
2016-09-10IdentationRobert Peichaer
OK halex, krw
2016-09-09Convert [] to ksh style [[]] tests.Robert Peichaer
Based on a diff from Anthony Coulter. OK krw, halex
2016-09-09Resurrect the detection of the console device that got lost a long time ago.Robert Peichaer
OK tb
2015-02-18Remove old cruft, that make no sense at all on OpenBSD.Robert Peichaer
- comments relevant to other brands of UNIX - the no-op KSH_VERSION case-block, we only have pdksh - the case-block for setting aliases based on UNIX brand together with a comment that falsely encourages to modify this file instead of putting stuff in $HOME/.kshrc OK krw@ halex@
2014-07-11Introducing a nifty _ignore function makes the file neater and easierAlexander Hall
to maintain. The eval's must stay to make the aliases expand at run time instead of at parse time. ok krw@
2014-07-11revert last commitAlexander Hall
eval seems to be needed for reaching the aliases which otherwise aren't available from within functions...
2014-07-09I hate eval. Apart from when it's really needed.Alexander Hall
Eval'ing constant expressions is not such a case. "...fine with me" krw@
2011-07-04use "function X" rather than "X ()" since for the former, preceding parameterAlexander Hall
assignments function calls are not surprisingly polluting your shell environment "makes sense" krw@, ok tedu@ guenther@
2010-04-26don't throw away exit status of various commands; ok sthen@ dcoppa@ halex@Otto Moerbeek
2009-08-07fix ksh ftp wrapper so argvs aren't split before passing; makingMartynas Venckus
urls with spaces work. ok sthen@
2008-08-24remove the ls=ls -gCF alias: we already have an alias for ls (-CF),Jason McIntyre
and now that the behaviour of -g has changed to be more in line with posix, we get group ID by default anyway; kick started by PR 5784 from Jacek Masiulaniec; discussed with otto and sobrado; ok deraadt millert
2005-02-07indentation whitespace nitsDavid Krause
2002-12-08Remove special case code for sun/xterm that faked a DISPLAY andMarco S Hyman
set the erase character to something other than probably desired. 'I don't object' millert@
2002-10-16when using this file, label and ilabel set the term 'title' and icon labels.Todd T. Fries
they do this by sending to stdout. commands like: 'ftp -o - ftp://blah/foo>foo' do not like having data added to the output stream. since we only define these two functions in an environment where /dev/tty exists, send output to /dev/tty to make sure it does not corrupt the output stream of commands.
2002-05-30space nitsTheo de Raadt
2001-11-19zap trailing spaces and tabsTheo de Raadt
2001-04-30fix function wcd so "cd x && y" returns an appropriate error when x does not ↵Marco S Hyman
exist
2000-09-21add ssh to the list of apps to 'cleanup titles afterwards' when used with anTodd T. Fries
xterm or equivalent
2000-01-27Don't bind arrow keys in pdksh, the binding are already there by default.Todd C. Miller
1999-11-20Fix cd/wcd aliases. Closes PR #981Todd C. Miller
1998-03-22fix ksh.kshrc; check ksh.kshrc, .kshrc for owner/mode/pathMarco S Hyman
1996-12-16changed not to hardcode sun console name as "console"kstailey
1996-08-14Add /etc/ksh.kshrc.Jason Downs