From 9a265fe3f74d60a71f16fe022a6f0307c61f1861 Mon Sep 17 00:00:00 2001 From: dimti Date: Sat, 15 Apr 2023 19:54:04 +0300 Subject: [PATCH] - remove vim->nvim alias * show hostname for all connection to tty, not only for ssh --- .bash_aliases | 1 - .config/starship.toml | 22 +++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 00fcbad..1c5ce02 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -4,4 +4,3 @@ alias gc='git commit -m' alias gush='git push' alias gull='git pull' alias gb='git branch' -alias vim='nvim' diff --git a/.config/starship.toml b/.config/starship.toml index 4fda482..1baf069 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -33,12 +33,6 @@ vicmd_symbol = "[%](blue)" format = "[$duration]($style) " style = "150" -[directory] -style = "blue" -truncate_to_repo = false -truncation_length = 10 -truncation_symbol = "…/" - [fill] symbol = ' ' style = 'black' @@ -58,14 +52,20 @@ renamed = "" deleted = "" stashed = "" -[hostname] -format = "[$hostname]($style)" -ssh_only = true -style = "150" - [username] style_user = 'white bold' style_root = 'black bold' format = '[$user]($style) ' disabled = false show_always = true + +[hostname] +format = "[$hostname]($style)" +ssh_only = false +style = "150" + +[directory] +style = "blue" +truncate_to_repo = false +truncation_length = 10 +truncation_symbol = "…/"