mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
Change directory
parent
ed3c851272
commit
ff29c94663
1 changed files with 17 additions and 0 deletions
|
|
@ -18,6 +18,23 @@ export default {
|
|||
};
|
||||
```
|
||||
|
||||
## Change directory
|
||||
|
||||
```js
|
||||
export default {
|
||||
'R - cd /': async ({CloudCmd}) => {
|
||||
CloudCmd.loadDir({
|
||||
path: '/'
|
||||
});
|
||||
},
|
||||
'H - cd ~': async ({CloudCmd}) => {
|
||||
CloudCmd.loadDir({
|
||||
path: '/Users/coderaiser'
|
||||
});
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
## Copy URL to current file
|
||||
|
||||
```js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue