#
1.32 |
|
16-May-2018 |
mpf |
Remove default ls -C alias.
OK millert@, kn@, ian@, sthen@
|
Revision tags: OPENBSD_6_3_BASE
|
#
1.31 |
|
18-Feb-2018 |
kn |
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
|
#
1.30 |
|
05-Nov-2017 |
rpe |
Remove the ':' at the beginning of ksh.kshrc.
prodded by Raf Czlonka OK tb@
|
#
1.29 |
|
02-Nov-2017 |
tb |
Replace ps | grep with pgrep and use && instead of if-then-fi. From Raf Czlonka.
ok halex
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.28 |
|
15-Jul-2017 |
tb |
Replace some `eval` with $(eval) for consistency and use parameter expansion instead of basename(1). From Raf Czlonka
ok rpe
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.27 |
|
14-Sep-2016 |
rpe |
Do the same with less code.
OK halex
|
#
1.26 |
|
10-Sep-2016 |
rpe |
Unbreak ksh.kshrc by using a MI way of finding out the console device name.
Found by landry OK deraadt
|
#
1.25 |
|
10-Sep-2016 |
rpe |
Simplify setting the USER and UID variables. While here, convert `` to $().
OK halex
|
#
1.24 |
|
10-Sep-2016 |
rpe |
Remove remnants of rlogin, it's long gone (2002).
OK halex
|
#
1.23 |
|
10-Sep-2016 |
rpe |
Identation
OK halex, krw
|
#
1.22 |
|
09-Sep-2016 |
rpe |
Convert [] to ksh style [[]] tests. Based on a diff from Anthony Coulter.
OK krw, halex
|
#
1.21 |
|
09-Sep-2016 |
rpe |
Resurrect the detection of the console device that got lost a long time ago.
OK tb
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.20 |
|
18-Feb-2015 |
rpe |
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@
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.19 |
|
11-Jul-2014 |
halex |
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@
|
#
1.18 |
|
11-Jul-2014 |
halex |
revert last commit
eval seems to be needed for reaching the aliases which otherwise aren't available from within functions...
|
#
1.17 |
|
09-Jul-2014 |
halex |
I hate eval. Apart from when it's really needed. Eval'ing constant expressions is not such a case.
"...fine with me" krw@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.16 |
|
04-Jul-2011 |
halex |
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@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.15 |
|
26-Apr-2010 |
otto |
don't throw away exit status of various commands; ok sthen@ dcoppa@ halex@
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.14 |
|
07-Aug-2009 |
martynas |
fix ksh ftp wrapper so argvs aren't split before passing; making urls with spaces work. ok sthen@
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.13 |
|
24-Aug-2008 |
jmc |
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
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.12 |
|
07-Feb-2005 |
david |
indentation whitespace nits
|
Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.11 |
|
08-Dec-2002 |
marc |
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@
|
#
1.10 |
|
16-Oct-2002 |
todd |
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.
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
30-May-2002 |
deraadt |
space nits
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.8 |
|
19-Nov-2001 |
deraadt |
zap trailing spaces and tabs
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.7 |
|
30-Apr-2001 |
marc |
fix function wcd so "cd x && y" returns an appropriate error when x does not exist
|
Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.6 |
|
21-Sep-2000 |
todd |
add ssh to the list of apps to 'cleanup titles afterwards' when used with an xterm or equivalent
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.5 |
|
27-Jan-2000 |
millert |
Don't bind arrow keys in pdksh, the binding are already there by default.
|
#
1.4 |
|
20-Nov-1999 |
millert |
Fix cd/wcd aliases. Closes PR #981
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.3 |
|
22-Mar-1998 |
marc |
fix ksh.kshrc; check ksh.kshrc, .kshrc for owner/mode/path
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
|
#
1.2 |
|
16-Dec-1996 |
kstailey |
changed not to hardcode sun console name as "console"
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.1 |
|
14-Aug-1996 |
downsj |
Add /etc/ksh.kshrc.
|
#
1.31 |
|
18-Feb-2018 |
kn |
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
|
#
1.30 |
|
05-Nov-2017 |
rpe |
Remove the ':' at the beginning of ksh.kshrc.
prodded by Raf Czlonka OK tb@
|
#
1.29 |
|
02-Nov-2017 |
tb |
Replace ps | grep with pgrep and use && instead of if-then-fi. From Raf Czlonka.
ok halex
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.28 |
|
15-Jul-2017 |
tb |
Replace some `eval` with $(eval) for consistency and use parameter expansion instead of basename(1). From Raf Czlonka
ok rpe
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.27 |
|
14-Sep-2016 |
rpe |
Do the same with less code.
OK halex
|
#
1.26 |
|
10-Sep-2016 |
rpe |
Unbreak ksh.kshrc by using a MI way of finding out the console device name.
Found by landry OK deraadt
|
#
1.25 |
|
10-Sep-2016 |
rpe |
Simplify setting the USER and UID variables. While here, convert `` to $().
OK halex
|
#
1.24 |
|
10-Sep-2016 |
rpe |
Remove remnants of rlogin, it's long gone (2002).
OK halex
|
#
1.23 |
|
10-Sep-2016 |
rpe |
Identation
OK halex, krw
|
#
1.22 |
|
09-Sep-2016 |
rpe |
Convert [] to ksh style [[]] tests. Based on a diff from Anthony Coulter.
OK krw, halex
|
#
1.21 |
|
09-Sep-2016 |
rpe |
Resurrect the detection of the console device that got lost a long time ago.
OK tb
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.20 |
|
18-Feb-2015 |
rpe |
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@
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.19 |
|
11-Jul-2014 |
halex |
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@
|
#
1.18 |
|
11-Jul-2014 |
halex |
revert last commit
eval seems to be needed for reaching the aliases which otherwise aren't available from within functions...
|
#
1.17 |
|
09-Jul-2014 |
halex |
I hate eval. Apart from when it's really needed. Eval'ing constant expressions is not such a case.
"...fine with me" krw@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.16 |
|
04-Jul-2011 |
halex |
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@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.15 |
|
26-Apr-2010 |
otto |
don't throw away exit status of various commands; ok sthen@ dcoppa@ halex@
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.14 |
|
07-Aug-2009 |
martynas |
fix ksh ftp wrapper so argvs aren't split before passing; making urls with spaces work. ok sthen@
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.13 |
|
24-Aug-2008 |
jmc |
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
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.12 |
|
07-Feb-2005 |
david |
indentation whitespace nits
|
Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.11 |
|
08-Dec-2002 |
marc |
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@
|
#
1.10 |
|
16-Oct-2002 |
todd |
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.
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
30-May-2002 |
deraadt |
space nits
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.8 |
|
19-Nov-2001 |
deraadt |
zap trailing spaces and tabs
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.7 |
|
30-Apr-2001 |
marc |
fix function wcd so "cd x && y" returns an appropriate error when x does not exist
|
Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.6 |
|
21-Sep-2000 |
todd |
add ssh to the list of apps to 'cleanup titles afterwards' when used with an xterm or equivalent
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.5 |
|
27-Jan-2000 |
millert |
Don't bind arrow keys in pdksh, the binding are already there by default.
|
#
1.4 |
|
20-Nov-1999 |
millert |
Fix cd/wcd aliases. Closes PR #981
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.3 |
|
22-Mar-1998 |
marc |
fix ksh.kshrc; check ksh.kshrc, .kshrc for owner/mode/path
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
|
#
1.2 |
|
16-Dec-1996 |
kstailey |
changed not to hardcode sun console name as "console"
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.1 |
|
14-Aug-1996 |
downsj |
Add /etc/ksh.kshrc.
|
#
1.30 |
|
05-Nov-2017 |
rpe |
Remove the ':' at the beginning of ksh.kshrc.
prodded by Raf Czlonka OK tb@
|
#
1.29 |
|
02-Nov-2017 |
tb |
Replace ps | grep with pgrep and use && instead of if-then-fi. From Raf Czlonka.
ok halex
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.28 |
|
15-Jul-2017 |
tb |
Replace some `eval` with $(eval) for consistency and use parameter expansion instead of basename(1). From Raf Czlonka
ok rpe
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.27 |
|
14-Sep-2016 |
rpe |
Do the same with less code.
OK halex
|
#
1.26 |
|
10-Sep-2016 |
rpe |
Unbreak ksh.kshrc by using a MI way of finding out the console device name.
Found by landry OK deraadt
|
#
1.25 |
|
10-Sep-2016 |
rpe |
Simplify setting the USER and UID variables. While here, convert `` to $().
OK halex
|
#
1.24 |
|
10-Sep-2016 |
rpe |
Remove remnants of rlogin, it's long gone (2002).
OK halex
|
#
1.23 |
|
10-Sep-2016 |
rpe |
Identation
OK halex, krw
|
#
1.22 |
|
09-Sep-2016 |
rpe |
Convert [] to ksh style [[]] tests. Based on a diff from Anthony Coulter.
OK krw, halex
|
#
1.21 |
|
09-Sep-2016 |
rpe |
Resurrect the detection of the console device that got lost a long time ago.
OK tb
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.20 |
|
18-Feb-2015 |
rpe |
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@
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.19 |
|
11-Jul-2014 |
halex |
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@
|
#
1.18 |
|
11-Jul-2014 |
halex |
revert last commit
eval seems to be needed for reaching the aliases which otherwise aren't available from within functions...
|
#
1.17 |
|
09-Jul-2014 |
halex |
I hate eval. Apart from when it's really needed. Eval'ing constant expressions is not such a case.
"...fine with me" krw@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.16 |
|
04-Jul-2011 |
halex |
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@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.15 |
|
26-Apr-2010 |
otto |
don't throw away exit status of various commands; ok sthen@ dcoppa@ halex@
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.14 |
|
07-Aug-2009 |
martynas |
fix ksh ftp wrapper so argvs aren't split before passing; making urls with spaces work. ok sthen@
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.13 |
|
24-Aug-2008 |
jmc |
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
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.12 |
|
07-Feb-2005 |
david |
indentation whitespace nits
|
Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.11 |
|
08-Dec-2002 |
marc |
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@
|
#
1.10 |
|
16-Oct-2002 |
todd |
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.
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
30-May-2002 |
deraadt |
space nits
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.8 |
|
19-Nov-2001 |
deraadt |
zap trailing spaces and tabs
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.7 |
|
30-Apr-2001 |
marc |
fix function wcd so "cd x && y" returns an appropriate error when x does not exist
|
Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.6 |
|
21-Sep-2000 |
todd |
add ssh to the list of apps to 'cleanup titles afterwards' when used with an xterm or equivalent
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.5 |
|
27-Jan-2000 |
millert |
Don't bind arrow keys in pdksh, the binding are already there by default.
|
#
1.4 |
|
20-Nov-1999 |
millert |
Fix cd/wcd aliases. Closes PR #981
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.3 |
|
22-Mar-1998 |
marc |
fix ksh.kshrc; check ksh.kshrc, .kshrc for owner/mode/path
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
|
#
1.2 |
|
16-Dec-1996 |
kstailey |
changed not to hardcode sun console name as "console"
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.1 |
|
14-Aug-1996 |
downsj |
Add /etc/ksh.kshrc.
|