mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-22 14:38:25 +00:00
little usability fixes
This commit is contained in:
parent
65b2fe4462
commit
b62df89eea
7
src/tomb
7
src/tomb
@ -884,8 +884,9 @@ list_tombs() {
|
||||
print -n "$fg[white] open on "
|
||||
print -n "$fg_bold[white]$tombmount"
|
||||
print -n "$fg_no_bold[white] using "
|
||||
print -n "$fg_bold[white]$tombfs $tombfsopts"
|
||||
print -n "$fg_no_bold[white] since "
|
||||
print "$fg_bold[white]$tombfs $tombfsopts"
|
||||
print -n "$fg_no_bold[green]$tombname"
|
||||
print -n "$fg_no_bold[white] open since "
|
||||
print "$fg_bold[white]$tombsince$fg_no_bold[white]"
|
||||
|
||||
# now check hooks
|
||||
@ -991,7 +992,7 @@ EOF
|
||||
}
|
||||
|
||||
main () {
|
||||
print $@ | grep '\-D' 2>&1 > /dev/null
|
||||
echo $@ | grep '\-D' 2>&1 > /dev/null
|
||||
# ?????
|
||||
if [ $? = 0 ]; then
|
||||
fi
|
||||
|
@ -158,7 +158,11 @@ launch_status() {
|
||||
tombname=${1}
|
||||
tombmap=`mount -l | awk "/\[${tombname}\]$/"' { print $1 } '`
|
||||
tombmount=`mount -l | awk "/\[${tombname}\]$/"' { print $3 } '`
|
||||
tomb-status $tombmap $tombname $tombmount &!
|
||||
if [ -x ./tomb-status ]; then # launch from build dir
|
||||
./tomb-status $tombmap $tombname $tombmount &!
|
||||
else
|
||||
tomb-status $tombmap $tombname $tombmount &!
|
||||
fi
|
||||
}
|
||||
|
||||
# got an argument
|
||||
|
Loading…
x
Reference in New Issue
Block a user