✨ Sdir/rdir open EDITOR after cd
This commit is contained in:
parent
fb573e6151
commit
0e14683cf1
2 changed files with 10 additions and 1 deletions
|
|
@ -12,4 +12,8 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
cd "$sdir" && ls
|
||||
if [ -z "$sdoc" ] ; then
|
||||
cd "$sdir" && ls
|
||||
else
|
||||
cd "$sdir" && $EDITOR $sdoc
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue