From d106f3635dfef0203cf0fde0c070bad49ee496eb Mon Sep 17 00:00:00 2001 From: Jokler Date: Fri, 7 Feb 2020 16:03:19 +0100 Subject: Use starship to generate the ZSH prompt --- .config/starship.toml | 9 +++++++++ .zshrc | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .config/starship.toml diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..56fb7a6 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,9 @@ +[character] +symbol = "➜" + +[directory] +truncate_to_repo = false +truncation_length = 8 + +[rust] +symbol = "⚙️ " diff --git a/.zshrc b/.zshrc index a0cf765..c50c073 100644 --- a/.zshrc +++ b/.zshrc @@ -1,9 +1,9 @@ export ZSH="/home/jokler/.oh-my-zsh" -ZSH_THEME="blinks" - export RUSTFLAGS="-C link-arg=-fuse-ld=lld" export RUST_BACKTRACE=full +eval "$(starship init zsh)" + plugins=(git cargo rust ripgrep wd) source $ZSH/oh-my-zsh.sh -- cgit v1.2.3-70-g09d2