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
|
||||
}
|
||||
|
||||
q(){
|
||||
exit
|
||||
}
|
||||
|
||||
# Standard variables.
|
||||
export_loop \
|
||||
ENV '$HOME/.shrc' \
|
||||
|
|
5
profile
5
profile
|
@ -148,9 +148,10 @@ fn cd {
|
|||
|
||||
fn - {
|
||||
# Move back in history for $1 notes.
|
||||
num = $1
|
||||
if(~ $#* 0)
|
||||
1 = 1
|
||||
builtin cd $cds($1)
|
||||
num = 1
|
||||
builtin cd $cds($num)
|
||||
}
|
||||
|
||||
fn cds {
|
||||
|
|
Loading…
Reference in a new issue