aboutsummaryrefslogtreecommitdiff
path: root/.config/starship.toml
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2022-10-20 19:27:28 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2022-10-20 19:27:28 +0000
commitd03a7f0634be50f8b4a500bc967fcece71427ba1 (patch)
tree12122260b3cb395ac6d085e96f7a3cf71b533508 /.config/starship.toml
parent690267fc3abb284278ae3ebc6efd22d4b73fa3da (diff)
downloaddotfiles-d03a7f0634be50f8b4a500bc967fcece71427ba1.tar
dotfiles-d03a7f0634be50f8b4a500bc967fcece71427ba1.tar.gz
dotfiles-d03a7f0634be50f8b4a500bc967fcece71427ba1.tar.bz2
dotfiles-d03a7f0634be50f8b4a500bc967fcece71427ba1.tar.lz
dotfiles-d03a7f0634be50f8b4a500bc967fcece71427ba1.tar.xz
dotfiles-d03a7f0634be50f8b4a500bc967fcece71427ba1.tar.zst
dotfiles-d03a7f0634be50f8b4a500bc967fcece71427ba1.zip
starship: Use a $ for a prompt for a more unix-y shell
Diffstat (limited to '.config/starship.toml')
-rw-r--r--.config/starship.toml33
1 files changed, 20 insertions, 13 deletions
diff --git a/.config/starship.toml b/.config/starship.toml
index 1e2cb06..8daea98 100644
--- a/.config/starship.toml
+++ b/.config/starship.toml
@@ -19,8 +19,10 @@ style = 'red bold'
[character]
format = '$symbol '
-success_symbol = '[❯](bold green)'
-error_symbol = '[❯](bold red)'
+#success_symbol = '[❯](bold green)'
+#error_symbol = '[❯](bold red)'
+success_symbol = '[\$](bold green)'
+error_symbol = '[\$](bold red)'
vicmd_symbol = '[❮](bold green)'
disabled = false
@@ -84,15 +86,18 @@ version_format = 'v${raw}'
symbol = '🦕 '
style = 'green bold'
disabled = false
-detect_extensions = [
- "js",
- "ts",
-]
+#detect_extensions = [
+# "js",
+# "ts",
+#]
detect_files = [
'mod.ts',
'deps.ts',
'mod.js',
'deps.js',
+ 'main.ts',
+ 'deno.json',
+ 'deno.jsonc',
]
detect_folders = []
@@ -136,7 +141,7 @@ detect_extensions = [
'csproj',
'fsproj',
'xproj',
- 'cs',
+ 'cs',
]
detect_files = [
'global.json',
@@ -401,20 +406,22 @@ format = 'via [$symbol($version )]($style)'
version_format = 'v${raw}'
symbol = ' '
style = 'bold green'
-disabled = false
+disabled = true
not_capable_style = 'bold red'
detect_extensions = [
-#'js',
- 'mjs',
- 'cjs',
-#'ts',
+ 'js',
+ 'mjs',
+ 'cjs',
+ 'ts',
]
detect_files = [
'package.json',
'.node-version',
'.nvmrc',
]
-detect_folders = ['node_modules']
+detect_folders = [
+ 'node_modules'
+]
[ocaml]
format = 'via [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'