mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 13:47:38 +00:00
8782e300fc
Allows bash users to run a function before the shell is drawn, by defining a function and setting its name equal to starship_precmd_user_func.
30 lines
810 B
JavaScript
30 lines
810 B
JavaScript
module.exports = {
|
|
title: 'Starship',
|
|
description: 'The cross-shell prompt for astronauts ☄🌌️',
|
|
head: [
|
|
['link', { rel: 'icon', href: '/icon.png' }]
|
|
],
|
|
themeConfig: {
|
|
logo: '/icon.png',
|
|
sidebar: [
|
|
'/',
|
|
['/guide/', 'Guide'],
|
|
['/config/', 'Configuration'],
|
|
['/advanced-config/', 'Advanced Configuration']
|
|
],
|
|
nav: [
|
|
{ text: 'Configuration', link: '/config/' },
|
|
],
|
|
// the GitHub repo path
|
|
repo: 'starship/starship',
|
|
// the label linking to the repo
|
|
repoLabel: 'GitHub',
|
|
// if your docs are not at the root of the repo:
|
|
docsDir: 'docs',
|
|
// defaults to false, set to true to enable
|
|
editLinks: true,
|
|
// custom text for edit link. Defaults to "Edit this page"
|
|
editLinkText: 'Edit this page on GitHub'
|
|
}
|
|
}
|