From 60318b0cae59aa845468101855f7802812f785b1 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Wed, 19 Aug 2020 12:45:46 +0200 Subject: [PATCH] starship migration --- conf/starship.toml | 1 + install.sh | 4 +--- zsh/zshrc | 4 +--- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/conf/starship.toml b/conf/starship.toml index 1a3ffba..2c58c23 100644 --- a/conf/starship.toml +++ b/conf/starship.toml @@ -1,6 +1,7 @@ add_newline = false prompt_order = [ # "kubernetes", + "python", "directory", "git_branch", "git_commit", diff --git a/install.sh b/install.sh index 341b073..7a40823 100644 --- a/install.sh +++ b/install.sh @@ -37,13 +37,11 @@ ln -sf ~/.dotfiles/conf/tmux.conf ~/.tmux.conf ## zsh # cleaning rm -rf ~/.zsh ~/.zshrc -mkdir -p ~/.zsh/plugins # ~/.zsh/themes +mkdir -p ~/.zsh/plugins # dependiences git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.zsh/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/plugins/zsh-syntax-highlighting -#git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.zsh/themes/powerlevel10k # installing ln -sf ~/.dotfiles/zsh/zshrc ~/.zshrc ln -sf ~/.dotfiles/conf/starship.toml ~/.config -#ln -sf ~/.dotfiles/zsh/p10k.zsh ~/.p10k.zsh touch ~/.zshrc.local diff --git a/zsh/zshrc b/zsh/zshrc index 427eca4..8472a44 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -7,10 +7,8 @@ zstyle ':completion:*' menu select export CLICOLOR=1 alias ll='ls -lh' -source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -#source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme -#[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh export FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'