New functions for profile file.
This commit is contained in:
parent
c7bd5edf9e
commit
3460ad6b97
1 changed files with 15 additions and 6 deletions
21
profile
21
profile
|
@ -178,16 +178,25 @@ fn uprofile {
|
||||||
. $profile
|
. $profile
|
||||||
}
|
}
|
||||||
|
|
||||||
fn m {
|
|
||||||
for(i in $*){
|
|
||||||
man $man/$i | less
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn noerr {
|
fn noerr {
|
||||||
{$*} >[2]/dev/null
|
{$*} >[2]/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn nostd {
|
||||||
|
{$*} >[1]/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
fn m {
|
||||||
|
for(i in $*){
|
||||||
|
if(test -r $man/$i){
|
||||||
|
man $man/$i | less
|
||||||
|
}
|
||||||
|
if not {
|
||||||
|
man $i | less
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Setting enviroment.
|
# Setting enviroment.
|
||||||
if(test -r $setenv){
|
if(test -r $setenv){
|
||||||
. $setenv
|
. $setenv
|
||||||
|
|
Loading…
Reference in a new issue