From 00d88037070ecd58b4d953d0baf12c3438458def Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sat, 9 Jan 2021 22:41:34 -0500 Subject: [PATCH] nix: remove starship conf --- .config/nixpkgs/home.nix | 23 ++++++++++++++++++++++- .config/starship.toml | 18 ------------------ README.md | 2 +- 3 files changed, 23 insertions(+), 20 deletions(-) delete mode 100644 .config/starship.toml diff --git a/.config/nixpkgs/home.nix b/.config/nixpkgs/home.nix index 6f906d1..38e0e7e 100644 --- a/.config/nixpkgs/home.nix +++ b/.config/nixpkgs/home.nix @@ -93,6 +93,28 @@ ''; }; + starship = { + settings = { + add_newline = false; + error_symbol = "[✖](bold red) "; + enableZshIntegration = true; + initExtra = '' + [gcloud] + disabled = true + + [time] + time_format = "%T" + format = "$time($style) " + style = "bright-white" + disabled = false + + [directory] + truncation_length = 5 + format = "[$path]($style)[$lock_symbol]($lock_style) " + ''; + }; + }; + zsh = { enable = true; enableAutosuggestions = true; @@ -110,7 +132,6 @@ export GPG_TTY=$(tty) export PATH=$PATH:~/.cargo/bin export PATH=$PATH:~/.local/bin - export PATH=$PATH:~/.nix-profile/bin export PATH=$PATH:~/.npm-packages/bin export PATH=$PATH:~/go/bin export CM_LAUNCHER=rofi diff --git a/.config/starship.toml b/.config/starship.toml deleted file mode 100644 index 7f3da95..0000000 --- a/.config/starship.toml +++ /dev/null @@ -1,18 +0,0 @@ -# Don't print a new line at the start of the prompt -add_newline = false - -[character] -error_symbol = "[✖](bold red) " - -[gcloud] -disabled = true - -[time] -time_format = "%T" -format = "$time($style) " -style = "bright-white" -disabled = false - -[directory] -truncation_length = 5 -format = "[$path]($style)[$lock_symbol]($lock_style) " diff --git a/README.md b/README.md index a7fe4a6..80b141b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # config -This repo stores nix, dotfiles, and other miscellaneous scripts. +This repo stores nix expressions and other configuration. ## Setup