History log of /openbsd/etc/ksh.kshrc (Results 1 – 25 of 32)
Revision Date Author Comments
# 9a205dcb 16-May-2018 mpf <mpf@openbsd.org>

Remove default ls -C alias.

OK millert@, kn@, ian@, sthen@


# 76258d57 18-Feb-2018 kn <kn@openbsd.org>

zap *_path() functions

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


# 5c66a7e8 05-Nov-2017 rpe <rpe@openbsd.org>

Remove the ':' at the beginning of ksh.kshrc.

prodded by Raf Czlonka
OK tb@


# b6f22de5 02-Nov-2017 tb <tb@openbsd.org>

Replace ps | grep with pgrep and use && instead of if-then-fi.
From Raf Czlonka.

ok halex


# 891cd713 15-Jul-2017 tb <tb@openbsd.org>

Replace some `eval` with $(eval) for consistency and use
parameter expansion instead of basename(1). From Raf Czlonka

ok rpe


# 241c9aeb 14-Sep-2016 rpe <rpe@openbsd.org>

Do the same with less code.

OK halex


# c02056c4 10-Sep-2016 rpe <rpe@openbsd.org>

Unbreak ksh.kshrc by using a MI way of finding out the console device name.

Found by landry
OK deraadt


# b1cb41de 10-Sep-2016 rpe <rpe@openbsd.org>

Simplify setting the USER and UID variables.
While here, convert `` to $().

OK halex


# 875ce3d3 10-Sep-2016 rpe <rpe@openbsd.org>

Remove remnants of rlogin, it's long gone (2002).

OK halex


# 5131f30e 10-Sep-2016 rpe <rpe@openbsd.org>

Identation

OK halex, krw


# 311fde7c 09-Sep-2016 rpe <rpe@openbsd.org>

Convert [] to ksh style [[]] tests.
Based on a diff from Anthony Coulter.

OK krw, halex


# c604e822 09-Sep-2016 rpe <rpe@openbsd.org>

Resurrect the detection of the console device that got lost a long time ago.

OK tb


# 03ea91e0 18-Feb-2015 rpe <rpe@openbsd.org>

Remove old cruft, that make no sense at all on OpenBSD.
- 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 o

Remove old cruft, that make no sense at all on OpenBSD.
- 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@

show more ...


# fe1cfde9 11-Jul-2014 halex <halex@openbsd.org>

Introducing a nifty _ignore function makes the file neater and easier
to maintain. The eval's must stay to make the aliases expand at run
time instead of at parse time.

ok krw@


# a8241c00 11-Jul-2014 halex <halex@openbsd.org>

revert last commit

eval seems to be needed for reaching the aliases which otherwise aren't
available from within functions...


# 860809c1 09-Jul-2014 halex <halex@openbsd.org>

I hate eval. Apart from when it's really needed.
Eval'ing constant expressions is not such a case.

"...fine with me" krw@


# 8a25b4e7 04-Jul-2011 halex <halex@openbsd.org>

use "function X" rather than "X ()" since for the former, preceding parameter
assignments function calls are not surprisingly polluting your shell environment

"makes sense" krw@, ok tedu@ guenther@


# 44ab491a 26-Apr-2010 otto <otto@openbsd.org>

don't throw away exit status of various commands; ok sthen@ dcoppa@ halex@


# e0eaa8de 07-Aug-2009 martynas <martynas@openbsd.org>

fix ksh ftp wrapper so argvs aren't split before passing; making
urls with spaces work. ok sthen@


# cabebc0b 24-Aug-2008 jmc <jmc@openbsd.org>

remove the ls=ls -gCF alias: we already have an alias for ls (-CF),
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

remove the ls=ls -gCF alias: we already have an alias for ls (-CF),
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

show more ...


# 3e233175 07-Feb-2005 david <david@openbsd.org>

indentation whitespace nits


# d2c987b5 08-Dec-2002 marc <marc@openbsd.org>

Remove special case code for sun/xterm that faked a DISPLAY and
set the erase character to something other than probably desired.
'I don't object' millert@


# 2bdec54d 16-Oct-2002 todd <todd@openbsd.org>

when using this file, label and ilabel set the term 'title' and icon labels.
they do this by sending to stdout. commands like: 'ftp -o - ftp://blah/foo>foo'
do not like having data added to the outpu

when using this file, label and ilabel set the term 'title' and icon labels.
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.

show more ...


# d6c27852 30-May-2002 deraadt <deraadt@openbsd.org>

space nits


# 08a3bdb4 19-Nov-2001 deraadt <deraadt@openbsd.org>

zap trailing spaces and tabs


12