ls/1
This commit is contained in:
parent
843378cdac
commit
4ed549e0b9
1 changed files with 4 additions and 5 deletions
|
@ -276,11 +276,10 @@ spcd_os_grep() {
|
|||
}
|
||||
|
||||
spcd_os_ls() {
|
||||
spcd_os_ls__path="${1}"
|
||||
if [ -n "${spcd_os_ls__path}" ]; then
|
||||
_spcd_frame_open "${spcd_os_ls__path}"
|
||||
ls -a -l "${spcd_os_ls__path}"
|
||||
_spcd_frame_shut "${spcd_os_ls__path}"
|
||||
if [ -n "${1}" ]; then
|
||||
_spcd_frame_open "${1}"
|
||||
ls -a -l "${1}"
|
||||
_spcd_frame_shut "${1}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue