Added a few things for profile files.
This commit is contained in:
parent
8c4ea01f98
commit
9707225cea
2 changed files with 7 additions and 2 deletions
|
@ -15,6 +15,10 @@ export_loop(){
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
q(){
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
# Standard variables.
|
# Standard variables.
|
||||||
export_loop \
|
export_loop \
|
||||||
ENV '$HOME/.shrc' \
|
ENV '$HOME/.shrc' \
|
||||||
|
|
5
profile
5
profile
|
@ -148,9 +148,10 @@ fn cd {
|
||||||
|
|
||||||
fn - {
|
fn - {
|
||||||
# Move back in history for $1 notes.
|
# Move back in history for $1 notes.
|
||||||
|
num = $1
|
||||||
if(~ $#* 0)
|
if(~ $#* 0)
|
||||||
1 = 1
|
num = 1
|
||||||
builtin cd $cds($1)
|
builtin cd $cds($num)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cds {
|
fn cds {
|
||||||
|
|
Loading…
Reference in a new issue