repo.or.cz
/
copyleftie-dotfiles.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update (lazy commit)
[copyleftie-dotfiles.git]
/
lib
/
cd.rc
blob
2322521af1608f2407065e09804600d8700cbe7f
1
# PS1='\n\w\n% ', PS2='>\t'
2
fn cd {
3
if (builtin cd $1) {
4
if (flag i) {
5
awd || status=''
6
prompt=('
7
'^`{ppwd}^'
8
% ' '> ')
9
}
10
status=''
11
}
12
}
13
14
# activate the prompt immediately
15
cd