New functions for profile file.

This commit is contained in:
k1574 2021-09-05 08:25:02 +05:00
parent c7bd5edf9e
commit 3460ad6b97

21
profile
View file

@ -178,16 +178,25 @@ fn uprofile {
. $profile
}
fn m {
for(i in $*){
man $man/$i | less
}
}
fn noerr {
{$*} >[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.
if(test -r $setenv){
. $setenv